in reply to Re: Running external process WHILE exiting/returning
in thread Running external process WHILE exiting/returning
I was confused about fork I have to admit, and I believed that if I did this:
then the child process would never be reached.if($child = fork){ return 0; }elsif(defined $child){...}
Your solution worked, but i can't help wondering, seeing how I'm a bit dumb with forks, would the above code work in the same way?
BTW, not to be picky, but you missed an equal sign in
:-Pif($child = 0){
cheers
S
|
|---|