[...]
VT> my script:
VT>   use FindBin;
VT>   $strRealPathPs = $FindBin::RealBin;
VT>   $strCommand = $strRealPathPs . '\ps.exe';
VT>   $strCommandOut = `$strCommand`;
VT>   if($! && length($!) > 0)
VT>  { print ("pkEngineStatus(): error occurred during the ps started: $!\n");
VT>   }
VT>   ...
VT> Gives an error:
[...]

why don't use:
$strCommandOut = `ps.exe`;
?

ps. you can try insert line like this:
$strCommand =~ s/\\/\\\\/g;

before line $strCommandOut = `$strCommand`;


_______________________________________________
ActivePerl mailing list
[EMAIL PROTECTED]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Reply via email to