What operating systems do you plan to support? If you are going to be using Win2k or above, then I would look into using WMI to spawn processes remotely. For that you will only need Win32::OLE.
The only catch is that if WMI fails, it has a tendency to hang, so I recommend asynchronous processing if you are going to loop through a group of computers. Also, do you just need to run the process remotely, or do you also want to redirect STDIN and STDOUT so that you can control the program over the network? The second option will be much more difficult to implement. -----Original Message----- From: Ken Perl [mailto:[EMAIL PROTECTED] Sent: Thursday, August 18, 2005 9:53 PM To: Perl Beginners List Subject: copy and run a program on remote windows I want to implement a module in perl to do the same thing as the tool PsExec (http://www.sysinternals.com/Utilities/PsExec.html) does, which is used to copy and run a program on remote windows, a very cool tool! So, I want to know if anyone has done this before. and If I do the implement from scratch, what modules should I use, or any comments are welcome. -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>