[New-bugs-announce] [issue36619] when is os.posix_spawn(setsid=True) safe?

cagney report at bugs.python.org
Fri Apr 12 13:58:10 EDT 2019


New submission from cagney <andrew.cagney at gmail.com>:

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: 340091
nosy: cagney
priority: normal
severity: normal
status: open
title: when is os.posix_spawn(setsid=True) safe?
type: enhancement
versions: Python 3.8

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue36619>
_______________________________________


More information about the New-bugs-announce mailing list