Forums
New posts
Search forums
Members
Current visitors
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Menu
Log in
Register
Install the app
Install
Forums
Archive
Archive
Python
[2.4.2/Linux] Getting Python to fork?
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
[QUOTE="Christian Heimes, post: 3430448"] Jon is correct here. You must close or redirect the underlying C file descriptor. Python's sys.std streams don't magically do this for you because Python keeps a backup of the standard streams for internal purpose in sys.__std*__. os.dup2 is the best solution. Christian [/QUOTE]
Verification
Post reply
Forums
Archive
Archive
Python
[2.4.2/Linux] Getting Python to fork?
Top