[erlang-questions] escript questions

Bengt Kleberg bengt.kleberg@REDACTED
Wed May 23 09:00:44 CEST 2007


On 2007-05-23 02:13, ok wrote:
>>> How do I write to stderr from a script?
> 
> Open an output stream to the Unix command 'cat 1>&2'.

note that this mean that _everything_ written to stdout goes to stderr. 
if you want to write to both stdout and stderr you have to wait for a 
new OTP.


bengt
-- 
Those were the days...
    EPO guidelines 1978: "If the contribution to the known art resides
    solely in a computer program then the subject matter is not
    patentable in whatever manner it may be presented in the claims."



More information about the erlang-questions mailing list