cross connecting
Gabriel Genellina
gagsl-py at yahoo.com.ar
Thu Nov 9 15:36:38 EST 2006
At Thursday 9/11/2006 17:17, km wrote:
>I have a c executable in machine A which cannot execute on B.
>I am on machine B and i need python program to connect to A via
>telnet and run the program with arguments passed from program on
>B and at the end fetch back results to machine B.
>i would like to know , which set of modules are suitable for this
>sort of a work ?
Using rsh (linux) or psexec (windows; www.sysinternals.com) you can
execute *any* program remotely (of course certain security constraints apply).
From the python point of view, you're executing a command and
capturing its output; use the subprocess module.
--
Gabriel Genellina
Softlab SRL
__________________________________________________
Correo Yahoo!
Espacio para todos tus mensajes, antivirus y antispam ¡gratis!
¡Abrí tu cuenta ya! - http://correo.yahoo.com.ar
More information about the Python-list
mailing list