Re: [Perl-unix-users] Re: Executing another perl script asyncronously

2002-06-10 Thread $Bill Luebkert
taguti wrote: >> You can run a command in the background with: >> >> system("cmd &"); >> > > Oh I remember this. Yes, but now my env has: > LD_PRELOAD=/lib/libthread.so.1 > which is required for DBD::Oracle. > And when I run "testexec1.pl", I get core dump. > I can do it when I reset

[Perl-unix-users] Re: Executing another perl script asyncronously

2002-06-10 Thread $B#t#a#g#u#t#i(B
> You can run a command in the background with: > > system("cmd &"); Oh I remember this. Yes, but now my env has: LD_PRELOAD=/lib/libthread.so.1 which is required for DBD::Oracle. And when I run "testexec1.pl", I get core dump. I can do it when I reset: LD_PRELOAD=;export LD_PRELOA

[Perl-unix-users] Re: Executing another perl script asyncronously

2002-06-10 Thread $B#t#a#g#u#t#i(B
> 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 My main script is started by cron on every 00 minutes, 00:00, 01:00, 02:00 and so on, and it must execute another script on xx::00 & xx::15 &

Re: [Perl-unix-users] Executing another perl script asyncronously

2002-06-10 Thread Trevor Joerges
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

Re: [Perl-unix-users] Executing another perl script asyncronously

2002-06-10 Thread $Bill Luebkert
taguti wrote: > 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. >From perl

[Perl-unix-users] Executing another perl script asyncronously

2002-06-10 Thread $B#t#a#g#u#t#i(B
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] File operation w/regex

2002-06-10 Thread Kelley, Shawn \(US - Dallas\)
Title: File operation w/regex Hello all, I'm in the process of writing a script that will search a file for a specific pattern and write the results to a new file.  I have been able to partially accomplish this but I'm not completely satisfied with the results.  The specifics are as follows: