How do you use " " whe sending a command

Fernando Armenta farmenta at pillardata.com
Tue Sep 30 19:49:28 EDT 2003


Hello, 

 

I am trying to pass the following command

 

ssh IP_address "ssh IP_address ls"

 

How you do that in Python?

/" ?

"/ ?

 

p = os.popen('ssh.exp ' + MGMT_IP + ' ' + /" ssh + PMI_IP_NODE1 + ' ' +
/bin/tdslog -C "/')

 

 

Thanks for the help...

 

-F

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20030930/74b47579/attachment.html>


More information about the Python-list mailing list