Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Re: Re: Win32::KillProcess

by tachyon (Chancellor)
on Mar 12, 2004 at 17:58 UTC ( [id://336223]=note: print w/replies, xml ) Need Help??


in reply to Re: Win32::KillProcess
in thread Win32::KillProcess

You need perl installed on the remote machine to run perl scripts on it. If it is, say on G:

use Win32::KillProcess qw( connectServer startProcess ); my $c = connectServer( $server, $user, $pass ); startProcess( $c, "G:\\perl\\bin\\perl.exe C:\\test.pl command line ar +gs" );

cheers

tachyon

Replies are listed 'Best First'.
Re^3: Win32::KillProcess
by boat73 (Scribe) on Sep 17, 2004 at 17:36 UTC
    I am running this code which works great except for one thing. When I try to execute a non existing exe it still returns 0 and a pid. Why is that? Thanks, boat73

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://336223]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others scrutinizing the Monastery: (7)
As of 2024-04-23 10:49 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found