spawning a process using os.spawn

rkmr.em at gmail.com rkmr.em at gmail.com
Tue Jun 9 14:38:53 EDT 2009


hi
im spawning a script that runs for a long from a web app like this:

os.spawnle(os.P_NOWAIT, "../bin/producenotify.py", "producenotify.py",
"xx",os.environ)


the script is spawned and it runs, but till it gets over i am not able to
free the port that is used by the web app, or in other words i am not able
to restart the web app. how do i spawn off a process and make it completely
independent of the web app?
thanks
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20090609/657b8fc1/attachment.html>


More information about the Python-list mailing list