Process spawning in win32

U

Uri Nix

Hello,

I'm using Python to automate some test suites for an external
simulator. Up to now I've been using the os.spawnl() successfully.
Recently, I've changed simulator versions and encountered the
following problem:
using os.spawnl() from within the IDLE activates the simulator just
fine; using the _same_ code from a script (either from IDLE or command
line) doesn't.
It looks like the simulator isn't being activated from its working
directory.

I've tried using Mark Hammond's win32process to verify I'm passing the
correct environment and working directory, but get the same results.

Why should spawnl() work differently from within IDLE or otherwise?

(Using Python 2.3.4 on WindowsXP)

Cheers,
Uri
 

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

No members online now.

Forum statistics

Threads
473,755
Messages
2,569,536
Members
45,014
Latest member
BiancaFix3

Latest Threads

Top