strace and child processes

Matthias Urlichs (smurf@smurf.noris.de)
Mon, 3 Jun 1996 11:37:01 +0100


I've noticed that if I strace a process, the original parent gets -ENOCHILD
from its wait() call.

Is that fixable? Presumably, strace shouldn't disturb anything, and the
problem shows in a client which is either looping endlessly, or dying
because it doesn't expect its child processes to vanish from under its nose.

Example: "find ... | strace -f xargs ..." or similar.

-- 
THE BEATLES:
       Paul McCartney's old back-up band.
-- 
Matthias Urlichs