Given the following code, shouldn't process1 be created in a suspened mode, then resumed, then the script waits 60000000 milliseconds to continue before the remainder of the script is run OR continues when the process is terminated????

Thanks


my $App = "c:\\source\\scripts\\IBM_TP\\Utility\\setup.exe";
my $Cmd = "setup -s -sms";
my $Inherit = 0;
my $Flags = CREATE_SUSPENDED;
my $Dir = ".";
my $Process1;
Win32::Process::Create( $Process1, $App, $Cmd, $Inherit, $Flags, $Dir);
$Process1->Resume();
$Process1->Wait(60000000);


_________________________________________________________________
Protect your PC - get McAfee.com VirusScan Online http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963


_______________________________________________
Perl-Win32-Admin mailing list
[EMAIL PROTECTED]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Reply via email to