Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Python > Process spawning in win32

Thread Tools

Process spawning in win32

Uri Nix
Posts: n/a

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

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)

Reply With Quote

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Spawning process from Java gives deadlock for standard output Java 8 05-24-2006 08:36 PM
spawning a process from webform1 Ashish ASP .Net 0 07-11-2005 10:37 PM
Spawning a process with ASP.NET 2.0 beta 2 Marianne ASP .Net 4 07-07-2005 11:09 AM
Error Spawning Process from ASP.NET ASP .Net 4 02-08-2005 04:37 PM
Spawning, and Killing, a Process brolewis Python 0 01-31-2005 09:35 PM