Python - forking an external process?
Victor Hooi
victorhooi at gmail.com
Wed Jul 3 00:11:32 EDT 2013
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?
Also, what's this improvement you mentioned?
Cheers,
Victor
On Wednesday, 3 July 2013 13:59:19 UTC+10, rusi wrote:
> 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 terminate.
>
>
>
> Seen Fabric?
>
> http://docs.fabfile.org/en/1.6/
>
>
>
> Recently -- within the last month methinks -- there was someone who posted a supposed improvement to it (forget the name)
More information about the Python-list
mailing list