If you just want to run another Perl script and not have the existing Perl
script wait for it to return use "exec" instead of "system". Taken from the
Perl docs:

exec LIST

exec PROGRAM LIST

The exec function executes a system command and never returns-- use system
instead of exec if you want it to return. It fails and returns false only if
the command does not exist and it is executed directly instead of via your
system's command shell (see below).

Hope this helps.

Kind regards,
Trevor J. Joerges
--------------------------------------------
$_=q;rrUSFWPSZK.ZKPFSHFT,rkvtuZbopuifsZQZibdl
rrqpxfsfeZcyZQ,,riuuq://xxx.%.dpn,ru~@%.dpn ,rrr8-)
;;s;\~;kpfshft;g;s;\%;tfoenjnf;g;y;B-x;A-w;;
s;P;perl;g;s;,;\n;g;s;Y; ;g;s;q;\t;g;print;
--------------------------------------------


----- Original Message -----
From: <$B#t#a#g#u#t#i (B <[EMAIL PROTECTED]>)>
To: <[EMAIL PROTECTED]>
Sent: Monday, June 10, 2002 10:59 PM
Subject: [Perl-unix-users] Executing another perl script asyncronously


| Dear,
|
| My question is just how to execute another perl script asyncronously.
| system or `` waite until another script will terminated.
| I need a function like Win32::spawn by Dave Roth.
|
| Schedule-Cron in CPAN is somewhat like, but it is for Perl subroutines.
|
| Regards,
| Hirosi Taguti
| [EMAIL PROTECTED]
| _______________________________________________
| Perl-Unix-Users mailing list
| [EMAIL PROTECTED]
| To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
|


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

Reply via email to