[New-bugs-announce] [issue17230] when forking without tty, code is run from start
jort bloem
report at bugs.python.org
Tue Feb 19 00:12:53 CET 2013
New submission from jort bloem:
When calling os.fork() without a tty, a process reporting the parent's pid runs code BEFORE the fork().
When running on a tty, it behaves as expected: both parent and child continue running from statement immediately after os.fork()
See attached test.py, compare running it with tty vs. without.
to run without tty: ssh localhost `pwd`/test.py
----------
components: None
messages: 182346
nosy: jort.bloem
priority: normal
severity: normal
status: open
title: when forking without tty, code is run from start
type: behavior
versions: Python 2.6, Python 2.7
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue17230>
_______________________________________
More information about the New-bugs-announce
mailing list