jort bloem added the comment:

haypo: I understand that, after a fork, parent and child instructions are run 
in parallel; which one prints first is a matter of chance.

However, commands BEFORE THE FORK should not be re-run.

See test script. I would expect one "Start <pid>", followed by a "parent <pid>" 
and a "child <pid>". I would not expect to see (as I do) a second "Start <pid>".

(The original program was long and complex, with numerous forks; this is the 
smallest program I could write to show the problem).

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue17230>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to