"Naftel, Bill S" wrote:
> 
> Perl can create or spawn new independent processes, each of which could
> then do a system command (or i believe there's another system type
> command that exits the perl process immediately (??) which would seem to
> be a little better). If no one has a better way & you're interested i
> can dig up code where i've used that.

There's always the start command:

        system "start program1";

> -----Original Message-----
> From: "Schiza; Apostolia (ISS Atlanta)" [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, January 02, 2001 10:07 AM
> To: "perl-win32-web@listserv. ActiveState. com (E-mail)"
> Subject: FW: perl cgi
> 
> >  -----Original Message-----
> > From:      Schiza, Apostolia (ISS Atlanta)
> > Sent:     Friday, December 29, 2000 1:55 PM
> > To:     [EMAIL PROTECTED]
> > Subject:     perl cgi
> >
> > Hi all,
> > I am working with perl cgi.
> > In one of my perl scripts I make calles to two command line programs.
> > I use the 'system' command but the problem is that I want the first
> > program to run even if the second program starts running, since
> program 1
> > needs to run at the same time with program 2 in order to give results.
> Is
> > there any way to do this?
> >
> > It seems that doing something like this:
> > system(Program1);
> > system(Program2);
> >
> > does not do what I want, since the program will first execute the
> first
> > system call,it will wait till Program1 is done, and then it will go to
> the
> > second system call where Program2 will start.
> >
> > Any ideas will be greatly appreciated!
> > Thanks and have a happy New Year!


-- 
  ,-/-  __      _  _         $Bill Luebkert   ICQ=14439852
 (_/   /  )    // //       DBE Collectibles   http://www.wgn.net/~dbe/
  / ) /--<  o // //      Mailto:[EMAIL PROTECTED]   http://dbecoll.webjump.com/
-/-' /___/_<_</_</_    http://www.freeyellow.com/members/dbecoll/
_______________________________________________
Perl-Win32-Web mailing list
[EMAIL PROTECTED]
http://listserv.ActiveState.com/mailman/listinfo/perl-win32-web

Reply via email to