in reply to Re: Running external process WHILE exiting/returning
in thread Running external process WHILE exiting/returning

Thanks!

I was confused about fork I have to admit, and I believed that if I did this:

if($child = fork){ return 0; }elsif(defined $child){...}
then the child process would never be reached.

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

if($child = 0){
:-P

cheers

S