you can try os.system("mycmd &")

huy
> stupid question: I'm trying to launch a background process from a
> Pylons controller, using the Python subprocess module in response to a
> hit from a browser.
>
> Funny thing is that Pylons seems to hold the browser connection open
> until the subprocess has completed - even though I'm running the
> process disconnected, or what I think is disconnected -- I've even
> tried running the subprocess (which is another Python script) using
> the shell '&' and with 'nohup', and the damned thing still somehow
> waits.....wtf???
>
> Is there there some subprocess magic going on with Paste, or do I just
> need more sleep?
>
> Thx,
> Rick
>
>
> >   


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"pylons-discuss" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/pylons-discuss?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to