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