SPUG: Remote process creation

Jonathan Souza souzajonathan at hotmail.com
Wed Oct 9 16:51:28 CDT 2002


I want to be able to open a process on another machine as if that program 
was run on that machine.

So assuming that I had permission to do so and used 
Win32::AdminMisc::LogonAsUser, and then ran an .exe using

Win32::Process::Create($Process,$Program, $CommandLine, $Inherit, $Flags, 
$Directory);

$Directory set to the remote machine, would this actually use the remote 
machine's processor and be independent of my local machine?


or is it even simplier, by just changing to the working directory of the 
remote machine and using "system( some.exe )" after copying the file there?


_________________________________________________________________
Join the world’s largest e-mail service with MSN Hotmail. 
http://www.hotmail.com


 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
     POST TO: spug-list at pm.org       PROBLEMS: owner-spug-list at pm.org
      Subscriptions; Email to majordomo at pm.org:  ACTION  LIST  EMAIL
  Replace ACTION by subscribe or unsubscribe, EMAIL by your Email-address
 For daily traffic, use spug-list for LIST ;  for weekly, spug-list-digest
     Seattle Perl Users Group (SPUG) Home Page: http://seattleperl.org




More information about the spug-list mailing list