Execute batch script on remote computer

Tim Golden tim.golden at viacom-outdoor.co.uk
Mon Feb 13 12:13:37 EST 2006


[py]

(re running remote processes)

| WMI will work, i can create a new Win32_Process.

OK, but remember that the process won't interact with the
desktop on the remote machine -- which may well be what you
want -- and also that the environment will likely be different,
unless you're connecting as a specific user (and even then
I'm not sure!) So make sure that your Python paths etc.
will work, and that the user the process is running under
has sufficient security to do whatever it needs.

| XML_RCP would be nice, but probably to much for what i need.

XML-RPC is quite lightweight, but requires a running server
on the remote machine. (Not a big deal, but still more than
using the already-there WMI).

TJG

________________________________________________________________________
This e-mail has been scanned for all viruses by Star. The
service is powered by MessageLabs. For more information on a proactive
anti-virus service working around the clock, around the globe, visit:
http://www.star.net.uk
________________________________________________________________________



More information about the Python-list mailing list