Try having the child exit after it identifies itself. E.g.,
print p('i am a child!'); exit(0); # don't fall through }
In reply to Re: Re: Re: Duplicate Output with forking
by dws
in thread Duplicate Output with forking
by skazat
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |