[Win32utils-devel] Process.setsid for Windows

Daniel Berger djberg96 at gmail.com
Sun Nov 7 10:03:37 EST 2010


Hi,

Just thinking about the possibility of a Process.setsid for Windows.

Would a Process.setsid analogue for Windows be a matter of calling 
CreateProcess() with CREATE_NEW_PROCESS_GROUP + DETACHED_PROCESS ? And 
raise an error instead if the current process is the process group leader?

Regards,

Dan


More information about the win32utils-devel mailing list