The "fork" in ActivePerl is not a real fork, it just creates a separate thread. I think by using dup2() you are bypassing the logic that makes them work like separate processes with separate file descriptors.open STDOUT, ">&SOCK_WRITE" or die "STDOUT: $!\n";
In reply to Re: Windows weirdness after fork, dup2
by Thelonius
in thread Windows weirdness after fork, dup2
by sgifford
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |