How to execute command on remote windows machine

Jean-Michel Pichavant jeanmichel at sequans.com
Tue Sep 3 09:57:22 EDT 2013


----- Original Message ----- 

> I tried it, however it seems really complicated.

> If you have used it before, can you show me how can i do it ?

> Gaurang Shah
> Blog: qtp-help.blogspot.com
> Mobile: +91 738756556

Please don't ask question off-list.

It's not complicated at all.

The documentation has a lot of examples:
http://codespeak.net/execnet/example/test_info.html#execute-source-code-in-subprocess-communicate-through-a-channel

makegateway by defaut execute the code on the local machine. You simply need to use something like 
makegateway("ssh=myRemoteMachine")

cheers,

JM


-- IMPORTANT NOTICE: 

The contents of this email and any attachments are confidential and may also be privileged. If you are not the intended recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information in any medium. Thank you.


More information about the Python-list mailing list