Popen in Python3

J

Joseph L. Casale

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
 
N

Nobody

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(v=vs.85).aspx
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,773
Messages
2,569,594
Members
45,125
Latest member
VinayKumar Nevatia_
Top