[haXe] haxe.exe output

Nicolas Cannasse ncannasse at motion-twin.com
Wed Dec 13 15:03:40 CET 2006


> Why isn’t it possible for me to redirect the output to a pipe.
> 
> For example:
> 
>  
> 
> haXe –swf test.swf –main Test > output.txt
> 
>  
> 
> Output in this case will be 0 bytes even though there are compile errors.
> 
> But if I do it with the verbose flag. I will get everything except the
> errors.

Errors are printed on stderr instead of stdout, so you can log them using :

haxe ... 2> output.txt

Nicolas



More information about the Haxe mailing list