Process spawning in win32

Uri Nix uri.nix at zoran.com
Sun Aug 22 06:51:17 EDT 2004


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



More information about the Python-list mailing list