[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index][Thread Index][Top&Search][Original]

Re: [ID 20000124.003] perl 5.063 error in open(.., "-|")



On 24 Jan 2000 17:58:15 GMT, ton@aucs-europe.net wrote:
>perl -we 'for (1..2) { defined($pid = open(FILE, "-|")) || die "Could not fork: $!"; if 
>($pid) { print STDERR "parent $$\n"; while (<FILE>) {}; close FILE; } else { print STDER
>R "child $$\n"; exec("ls"); };}'
>
>will hang on the second fork.

Yeah, you want change#4757 which got sent here.


Sarathy
gsar@ActiveState.com


Follow-Ups from:
"Matthias Urlichs" <smurf@noris.net>
References to:
ton@aucs-europe.net

[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index][Thread Index][Top&Search][Original]