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?
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!defined(my $pid = fork) or die "Cannot fork: $!"; unless ($pid) { # Child process is here system ('maincnc.exe'); } # Parent process is here
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)
|
|---|