in reply to Fork Results in thousands of processes

{ # in Child Process ... exit(0); <- Missing }
Or:
{ # in Child Process exec('touch', $callCount); die $!; }

Replies are listed 'Best First'.
A reply falls below the community's threshold of quality. You may see it by logging in.