On 28/01/14 19:52, leam hall wrote:
Python tutorial for 2.6 (using 2.4 -- don't ask), first code blurb under 17.1.1
http://docs.python.org/2.6/library/subprocess.html?highlight=subprocess#subprocess.Popen
How would you make an ssh to another box put data back in "p"? The
goal is to run a shell command on a remote box and work with the
output on the local host.
How do you do it outside of Python?
There is no great magic in Popen, it just reads/writes the
standard streams.
--
Alan G
Author of the Learn to Program web site
http://www.alan-g.me.uk/
http://www.flickr.com/photos/alangauldphotos
_______________________________________________
Tutor maillist - Tutor@python.org
To unsubscribe or change subscription options:
https://mail.python.org/mailman/listinfo/tutor