Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #48759 > unrolled thread

Popen in Python3

Started by"Joseph L. Casale" <jcasale@activenetwerx.com>
First post2013-06-19 23:03 +0000
Last post2013-06-20 04:34 +0100
Articles 2 — 2 participants

Back to article view | Back to comp.lang.python


Contents

  Popen in Python3 "Joseph L. Casale" <jcasale@activenetwerx.com> - 2013-06-19 23:03 +0000
    Re: Popen in Python3 Nobody <nobody@nowhere.com> - 2013-06-20 04:34 +0100

#48759 — Popen in Python3

From"Joseph L. Casale" <jcasale@activenetwerx.com>
Date2013-06-19 23:03 +0000
SubjectPopen in Python3
Message-ID<mailman.3601.1371683058.3114.python-list@python.org>
I am trying to invoke a binary that requires dll's in two places all of
which are included in the path env variable in windows. When running
this binary with popen it can not find either, passing env=os.environ
to open made no difference.

Anyone know what might cause this or how to work around this?

Thanks,
jlc

[toc] | [next] | [standalone]


#48770

FromNobody <nobody@nowhere.com>
Date2013-06-20 04:34 +0100
Message-ID<pan.2013.06.20.03.34.30.8000@nowhere.com>
In reply to#48759
On Wed, 19 Jun 2013 23:03:05 +0000, Joseph L. Casale wrote:

> I am trying to invoke a binary that requires dll's in two places all of
> which are included in the path env variable in windows. When running this
> binary with popen it can not find either, passing env=os.environ to open
> made no difference.
> 
> Anyone know what might cause this or how to work around this?

Do any of the DLLs have dependencies of their own which need to be found?

Do DLLs with the same name exist in directories which are searched before
%PATH%? Directories listed in %PATH% are searched after all other options
have failed.

The relevant MSDN page appears to be:

http://msdn.microsoft.com/en-us/library/windows/desktop/ms682586%28v=vs.85%29.aspx

[toc] | [prev] | [standalone]


Back to top | Article view | comp.lang.python


csiph-web