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="Gilles Ganault, post: 3429970"] Hello I need to launch a Python script, and fork it so that the calling script can resume with the next step will the Python script keeps running. I tried those two, but they don't work, as the calling script is stuck until the Python script ends: sys.stdout = open(os.devnull, 'w') ===== #if os.fork(): pid = os.fork() if pid > 0: sys.exit(0) ===== Should I use another library to do this? Thank you. [/QUOTE]
Verification
Post reply
Forums
Archive
Archive
Python
[2.4.2/Linux] Getting Python to fork?
Top