Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Re: Re: Re: vanishing system call

by virtualsue (Vicar)
on Sep 20, 2002 at 21:44 UTC ( [id://199639]=note: print w/replies, xml ) Need Help??


in reply to Re: Re: vanishing system call
in thread vanishing system call

So, okay, if I'm running out of memory, why do the system calls die so silently?

How do you know they are dying silently? You haven't been listening to what system may be trying to tell you. I recommend you debug this based starting strictly with the system() return values, since you say it was working before. Don't complicate the problem by changing several things at once.

if (system "your command") != 0){ my $exitval = $? >> 8; # return val from your cmd my $signum = $? & 127; # set if cmd stopped by a signal my $coredumped = $? & 128; # set if cmd dumped core }

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others lurking in the Monastery: (5)
As of 2024-04-25 14:50 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found