Win32_Process.Create -- not starting process

abcd codecraig at gmail.com
Thu Feb 16 09:38:22 EST 2006


Tim,
    I am skipping using the batch file and only executing the python
script directly...and so far it works fine.

So now I have:
pid, retVal =
wmi.WMI("1.2.3.4").new("Win32_Process").Create(CommandLine="c:\python\python.exe
c:\some_script.py")

Thanks again...not sure why when using the batch file to start it
wouldnt always work, but as long is it works now!




More information about the Python-list mailing list