in reply to Managing the fork/execing and reaping of child processes

Are you sure that your exec call worked? It can be tricky, see the docs exec.

You could check if it fails :-

exec ('foo') or die "couldn't exec foo: $!";

Replies are listed 'Best First'.
Re^2: Managing the fork/execing and reaping of child processes
by ibm1620 (Hermit) on Jul 16, 2015 at 16:14 UTC
    I added the ".. or die 'couldnt..'" but it doesn't get invoked. It seems to me that, in this case, exec (unlike fork) would either always work, or never work. The presence of "Hellos" in the output indicates to me that it's working.