Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re: system() does not wait

by fizbin (Chaplain)
on Dec 01, 2005 at 20:52 UTC ( [id://513435]=note: print w/replies, xml ) Need Help??


in reply to system() does not wait

First off, thank you for adding markup to your post.

Secondly, I suspect that what's really happening here is that something's preventing SCRIPT2 from launching, but only sometimes - unfortunately, I don't know what that error message means in this context.

One suggestion is to add a ";" to the end of the string you're passing to system - this will force perl to use /bin/sh to invoke the script, which may be better at telling you the real reason stuff isn't working than perl is. Of course, if you already have a | character in your system call, that isn't going to help.

I'm very puzzled by the idea that this happens only occasionally.

--
@/=map{[/./g]}qw/.h_nJ Xapou cets krht ele_ r_ra/; map{y/X_/\n /;print}map{pop@$_}@/for@/

Replies are listed 'Best First'.
Re^2: system() does not wait
by cbolcato (Novice) on Dec 02, 2005 at 13:09 UTC
    I can assure you that SCRIPT2 is executing every time. The script writes messages to a log file that prove it is running.

    Remember from my original post that SCRIPT2 is using DBI/DBD::Oracle is it possible the DBI or DBD may be throwing a signal.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://513435]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others cooling their heels in the Monastery: (6)
As of 2025-05-23 13:32 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?
    erzuuliAnonymous Monks are no longer allowed to use Super Search, due to an excessive use of this resource by robots.