[python-win32] Question about os.system

Tim Roberts timr at probo.com
Thu Dec 7 18:24:29 CET 2006


James Matthews wrote:
> Try Exec with the file handle

The problem with that suggestion is that "exec" executes the new script
in the same process, using the same namespaces.  In that case, you might
as well use "import".

I'm assuming the OP had some reason for wanting to spawn separate processes.

-- 
Tim Roberts, timr at probo.com
Providenza & Boekelheide, Inc.



More information about the Python-win32 mailing list