Hi,
I've just noticed that open() used for IPC isn't dying when forking an
illegal (non-existing) process :
>perl -w
my $command = "aaaaaaaaaaaaaaaaa 2>&1 |";
( my $pid = open ( FOUT, $command )) or die "Failed to open [$command] : $! \a\n";
print "[$command][$pid]\n";
^Z
Name "main::FOUT" used only once: possible typo at - line 2.
[aaaaaaaaaaaaaaaaa 2>&1 |][1160]
>
As you see, it returns the legal PID as everything went Ok and not
dying ! ( of course, I have no program called "aaaaaaaaaaaaaaaaa" )
My perl is ActivePerl b626.
Any ideas ? Thank you !