in reply to Re^2: quoted execution not working
in thread quoted execution not working
Good catch! You are correct. My bad. Instead of
I should have invokeddie "fork returned $pid";
as I have in code that I have written in the past where I have done forking. Too much C-code lately the if-tree is a C-ism. As indie $!;
anyway, good catch.pid = fork(); switch (pid){ -1: perror("Fork failed"); exit(-1); 0: /* Child */ break; default: /* parent */ break; }
All all this code is off the top of my head.
|
|---|