Re: Python - forking an external process?

2013-07-03 Thread Antoon Pardon
Op 03-07-13 05:47, Victor Hooi schreef: Hi, I have a Python script where I want to run fork and run an external command (or set of commands). For example, after doing xyz, I then want to run ssh to a host, handover control back to the user, and have my script terminate. Or I might want

Python - forking an external process?

2013-07-02 Thread Victor Hooi
Hi, I have a Python script where I want to run fork and run an external command (or set of commands). For example, after doing xyz, I then want to run ssh to a host, handover control back to the user, and have my script terminate. Or I might want to run ssh to a host, less a certain textfile,

Re: Python - forking an external process?

2013-07-02 Thread rusi
On Wednesday, July 3, 2013 9:17:29 AM UTC+5:30, Victor Hooi wrote: Hi, I have a Python script where I want to run fork and run an external command (or set of commands). For example, after doing xyz, I then want to run ssh to a host, handover control back to the user, and have my script

Re: Python - forking an external process?

2013-07-02 Thread Victor Hooi
Hi, Hmm, this script is actually written using the Cliff framework (https://github.com/dreamhost/cliff). I was hoping to keep the whole approach fairly simple, without needing to pull in too much external stuff, or set anything up. There's no way to do it with just Python core is there?

Re: Python - forking an external process?

2013-07-02 Thread Roy Smith
In article 14be21de-2ceb-464a-a638-dce0368ab...@googlegroups.com, Victor Hooi victorh...@gmail.com wrote: Hi, I have a Python script where I want to run fork and run an external command (or set of commands). For example, after doing xyz, I then want to run ssh to a host, handover

Re: Python - forking an external process?

2013-07-02 Thread rusi
On Wednesday, July 3, 2013 9:41:32 AM UTC+5:30, Victor Hooi wrote: Also, what's this improvement you mentioned? See thread http://mail.python.org/pipermail/python-list/2013-June/650550.html -- http://mail.python.org/mailman/listinfo/python-list