[issue36619] when is os.posix_spawn(setsid=True) safe?

2019-04-15 Thread STINNER Victor
STINNER Victor added the comment: Hum, os.supports_posix_spawn_args name would be more consistent with os.supports_dir_fd name. -- ___ Python tracker ___

[issue36619] when is os.posix_spawn(setsid=True) safe?

2019-04-15 Thread STINNER Victor
STINNER Victor added the comment: Maybe we need to expose an object in the os module to list which parameters are supported. setsid is not argument, but scheduler is another argument. There is also a discussion to add another argument to os.posix_spawn() to specify the working directly: it's

[issue36619] when is os.posix_spawn(setsid=True) safe?

2019-04-14 Thread Joannah Nanjekye
Change by Joannah Nanjekye : -- nosy: +nanjekyejoannah, vstinner ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscrib

[issue36619] when is os.posix_spawn(setsid=True) safe?

2019-04-12 Thread cagney
New submission from cagney : How can I detect that os.posix_spawn(setsid=True) is available at runtime? I'd like to use os.posix_spawn(setsid=True) when it is available, and (assuming I'm getting this right) os.posix_spawn(setpgroup=0) as a poor fallback. -- components: IO messages: