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
> 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
> 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 &
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
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
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]
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: