Unix dup pipes after fork Unix dup pipes after fork unix unix

Unix dup pipes after fork


I guess that flushing could help:

fflush(stdout);

But in my test I achieved success by adding a \n to the string. That sscanf won't start with "unfinished" strings I guess.