SPUG: Win32::Process
Michael Wallendahl
mwallend at fastmail.fm
Thu Oct 10 00:38:52 CDT 2002
What you want to do is go pick up a copy of Dave Roth's "Win32 Perl
Scripting: The Administrators Handbook". Then check out the code for
example 9.16. I believe the Example Code From the Book is available for
download from Dave's web site at http://www.roth.net/books/handbook/ (on
the left hand side). The code uses WMI to create a process on a remote
machine.
I have this book as well as his other book "Win32 Perl Programming: The
Standard Extensions, Second Edition". Both are very good reference books
full of good example code.
Dave Roth is a godsend for those of us using Perl on Windows systems.
I'm glad for his contributions to the Perl Community.
-Mike
On Wed, 9 Oct 2002, Souza Jonathan wrote:
> 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?
>
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
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