cross platform libraries

diffuser78 at gmail.com diffuser78 at gmail.com
Fri May 5 11:00:36 EDT 2006


Can we have some program in Linux which shuts down the windows computer
remotely.

Every help is appreciated.


Max Erickson wrote:
> diffuser78 at gmail.com wrote in
> news:1146836899.678804.168000 at g10g2000cwb.googlegroups.com:
>
> > I went to this webpage
> >
> > http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/360649
> >
> > Isn't it supposed to run on the network and close the connected
> > machine.
>
> That code uses the windows libraries on the machine it is run on to
> generate a request to the networked machine to shutdown. The code
> executes locally and sends the request over the network.
>
> > Every help is appreciate,
> >
>
> If you have some way of remotely running programs on the windows
> machine(ssh, telnet, etc.), you might try pstools:
>
> http://www.sysinternals.com/Utilities/PsTools.html
> 
> specifically, psshutdown.
> 
> max




More information about the Python-list mailing list