lua-users home
lua-l archive

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

> Here's a little gotcha mentioned in the changes section of the manual
> (
> "Function os.execute now returns true when command terminates
> successfully and nil plus error information otherwise."
> We will have to get out of the old habit of regarding non-zero as being 'bad'
> > = os.execute 'lss'
> 'lss' is not recognized as an internal or external command, operable
> program or batch file.
> nil     exit    1
> The docs say it returns nil, 'exit' or 'signal' and the return code

I am afraid I did not understand your point.

-- Roberto