[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: PATCH: file:close() return-value for pipes
- From: Tony Finch <dot@...>
- Date: Tue, 15 Feb 2011 10:17:45 +0000
On Tue, 15 Feb 2011, Miles Bader wrote:
> Roberto Ierusalimschy <roberto@inf.puc-rio.br> writes:
> > Better yet, it could return true for exit(0) and nil,what,code otherwise.
>
> That seems very useful and intuitive...
Or perhaps nil -> no error, number -> non-zero exit code, string -> signal name.
Tony.
--
f.anthony.n.finch <dot@dotat.at> http://dotat.at/
HUMBER THAMES DOVER WIGHT PORTLAND: NORTH BACKING WEST OR NORTHWEST, 5 TO 7,
DECREASING 4 OR 5, OCCASIONALLY 6 LATER IN HUMBER AND THAMES. MODERATE OR
ROUGH. RAIN THEN FAIR. GOOD.