[Tutor] sftp using subprocess

Alan Gauld alan.gauld at yahoo.co.uk
Tue Dec 4 16:37:38 EST 2018


On 04/12/2018 18:30, David Rock wrote:
> you MUST stop trying to use batch mode, because it will never work.

But you could presumably use interactive mode via Popen
by taking control of the stdin/out pipes.

But then you are basically re writing expect!

-- 
Alan G
Author of the Learn to Program web site
http://www.alan-g.me.uk/
http://www.amazon.com/author/alan_gauld
Follow my photo-blog on Flickr at:
http://www.flickr.com/photos/alangauldphotos




More information about the Tutor mailing list