S
Shea Martin
I create a win32 process like this:
use strict;
Win32:rocess::Create($g_sProcess,
$cmd , $a_sCommand, 1, Win32:rocess:ETACHED_PROCESS, "." );
# this does not work, though this is what examples show
# Win32:rocess->Create($g_sProcess,
# $cmd , $a_sCommand, 1, Win32:rocess:ETACHED_PROCESS, "." );
Then in later in another subroutine:
I do this:
if( $g_sProcess->wait(5) )
{
$msg = "Previous command finished.\n";
$g_sProcess = 0;
}
Which generates the error in the subject line: Your vendor has not defined
Win32:rocess macro wait, used at yourscript.pl.
What am I doing wrong here?
Thanks,
~S
use strict;
Win32:rocess::Create($g_sProcess,
$cmd , $a_sCommand, 1, Win32:rocess:ETACHED_PROCESS, "." );
# this does not work, though this is what examples show
# Win32:rocess->Create($g_sProcess,
# $cmd , $a_sCommand, 1, Win32:rocess:ETACHED_PROCESS, "." );
Then in later in another subroutine:
I do this:
if( $g_sProcess->wait(5) )
{
$msg = "Previous command finished.\n";
$g_sProcess = 0;
}
Which generates the error in the subject line: Your vendor has not defined
Win32:rocess macro wait, used at yourscript.pl.
What am I doing wrong here?
Thanks,
~S