[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Flaw in %readfrom and %writeto



> note the `behaviour inherited from /bin/sh'.  This would be unfortunate
> to break.  Perhaps another way to do this would be to provide a $&getpid
> primitive?  While this is not ideal, it would work.
> 
> What do people think?

It has the advantage that you could then get rid of special handling of
$pid and just make it an assignment in the shell startup code, I think.
Probably works out to be the same amount of code, with a little more
flexibility added in.