in reply to Spawing Win32 Processes
test.pl:
test1.pl:use Win32::Process; use strict; my $ProcessObj; Win32::Process::Create($ProcessObj, "c:/perl/bin/perl.exe","perl test1 +.pl", 0, DETACHED_PROCESS, "."); my $pid = $ProcessObj->GetProcessID(); print "$pid\n";
open(FILE,">c:/tada.txt"); print FILE "hello\n"; close FILE;
Alternatively, you could try start /B which is supposed to start an application without starting a new window.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Re: Spawing Win32 Processes
by Anonymous Monk on Aug 17, 2001 at 23:41 UTC |
In Section
Seekers of Perl Wisdom