[Tutor] Popen help?

VanL van@lindbergs.org
Mon, 10 Dec 2001 18:12:42 -0700


I'm trying to get the output of a script that prints to stdout.  The 
problem is, the script is on another server.

Can I use popen to ssh to another server, run a command, and get the output?

Or would telnetlib be better?  I just shy away from telnet because of 
security issues.