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

Re^2: Extremely odd behavior with net::ping and fork

by wolfger (Deacon)
on Aug 18, 2004 at 17:15 UTC ( [id://384048]=note: print w/replies, xml ) Need Help??


in reply to Re: Extremely odd behavior with net::ping and fork
in thread Extremely odd behavior with net::ping and fork

Where is this fork you keep mentioning?
Holy cripes... I posted the wrong source! How did I manage that?
The call to &startup was replaced in a later version with
defined(my $pid = fork) or die "Cannot fork: $!"; unless ($pid) { # Child process is here system ('maincnc.exe'); } # Parent process is here
Problem is fixed now, using exit;after the system(). I must have accidentally opened the older version of the script after rebooting my computer, rather than the new version. Maybe I'd have had beter help if I posted the correct source!
You guys were great in helping me anyway. Thanks for all the feedback!

--
Believe nothing, no matter where you read it, or who said it - even if I have said it - unless it agrees with your own reason and your own common sense.
(Buddha)

Log In?
Username:
Password:

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

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

    No recent polls found