Try using NT/W2K Start: $command1 = "notepad.exe"; $command2 = "wordpad.exe"; $command3 = "calc.exe"; system ("start $command1"); system ("start $command2"); system ("start $command3");
Kirk W. Batzer [EMAIL PROTECTED] :-) > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED]] On > Behalf Of Toby Stuart > Sent: Monday, June 10, 2002 7:32 PM > To: '[EMAIL PROTECTED]' > Subject: RE: Starting other programs > > > how about a good old batch file. > > -----Original Message----- > From: Sean Ahern [mailto:[EMAIL PROTECTED]] > Sent: Saturday, June 08, 2002 1:35 AM > To: [EMAIL PROTECTED] > Subject: Re: Starting other programs > > > At 10:11 07/06/2002 -0500, you wrote: > >I have a question about kicking off another program from a Perl > >program. I have one Perl Program, and I need it to kick off > 27 other > >programs, at around the same time. I do not need to talk to the > >programs again, so the main program does not have to wait around for > >the children to finish. I tried exec, but I could only get > it to start > >one child. > > > >Please Help! > > > >Thanks, > > > The code I'm using is : > > my $processCmdLine = "c:\\winnt\\system32\\cmd.exe \/c ".$CmdArgs; > > Win32::Process::Create($ProcessObj, > "c:\\winnt\\system32\\cmd.exe", > $processCmdLine, > CREATE_NEW_PROCESS_GROUP, > NORMAL_PRIORITY_CLASS, > ".") > > SxA > > > ------------------------------- > Sean Ahern, > Computing Support Officer, > School of Television and Imaging, > Duncan of Jordanstone College, > 13 Perth Rd, Dundee, DD1 4HT. > Tel : 0044(0)1382-345372 > --------------------------------- > > _______________________________________________ > Perl-Win32-Users mailing list > [EMAIL PROTECTED] > To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs > _______________________________________________ > Perl-Win32-Users mailing list > [EMAIL PROTECTED] > To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs > _______________________________________________ Perl-Win32-Users mailing list [EMAIL PROTECTED] To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs