problems with popen (linux7.3 python2.2.2)
Michael T. Babcock
mbabcock at fibrespeed.net
Wed Nov 26 10:49:55 EST 2003
>
>
>When I use:
>os.popen('ssh -l root at something tomcat4 stop')
>I find the command always hangs.
>
Try adding a "-t" to your SSH command-line; it forces it to request a
TTY instead of being silent. SSH tries to do "the right thing" when not
launched from a terminal prompt.
--
Michael T. Babcock
C.T.O., FibreSpeed Ltd.
http://www.fibrespeed.net/~mbabcock
More information about the Python-list
mailing list