Hello Stefan, Tuesday, December 21, 2004, 6:58:49 PM, you wrote:
SS> Hello, SS> I'm looking for documentation for the win32process module. The online docs SS> don't seem to contain anything about it. Specifically, I'm looking for SS> information concerning the 'CreateProcess' call. SS> I'm debugging an application where a call to 'CreateProcess' generates SS> an error about the file not being found. As the path is set in the SS> system-wide SS> environment, I'm wondering whether that environment is actually used during SS> the call SS> (I'm passing 'None' to the environment argument to CreateProcess()). SS> Thanks for your help, SS> Stefan SS> _______________________________________________ SS> Python-win32 mailing list SS> [EMAIL PROTECTED] SS> http://mail.python.org/mailman/listinfo/python-win32 And how do you pass an executable name? CreateProcess() has two executable name related parameters (appName, commandLine) and Windows uses different search strategy for each one of them. If you want Windows to search for your executable using PATH you should use None instead of appName and pass the name of executable in commandLine parameter. As to environment parameter, you should always set it to None, unless you want to completely redefine the environment. By the way, you shouldn't count on pywin32 help. They don't aim to reproduce MSDN. So when in doubt use Microsoft's help. It is clear and well written. -- Andrey _______________________________________________ Python-win32 mailing list [EMAIL PROTECTED] http://mail.python.org/mailman/listinfo/python-win32