Python script for remotely shutting down Windows PC from Linux ?

diffuser78 at gmail.com diffuser78 at gmail.com
Tue May 16 15:46:56 CEST 2006


> ssh Admin at IP_ADDR shutdown -s

Than indeed worked....Thanks

 > use the subprocess module or shellutils to execute the above.

I am a python newbie and how easy or difficult it is using the sub
process module and shell utils.

Thanks,

I really appreciate your help.




More information about the Python-list mailing list