[mtasc] without output message

Nicolas Cannasse ncannasse at motion-twin.com
Mon Apr 25 03:19:24 CEST 2005


> hello,
>
> I am proving the MTASC use
>
> I write the following thing in my CMD Window:
>
> "mtasc -swf tuto.swf -header 800:600:20 -main Tuto.as"
>
> this works without problems, if Tuto.as has errors, MTASC shows to me as
> they are
>
> now change the form of execution by this:
> "mtasc -swf tuto_2.swf -header 800:600:20 -main Tuto.as >report.txt"
> this is the source of a BAT file, I execute it and there is no output
> message, the report.txt file is "blank file" !
>
> after this him change the source to the BAT by this:
> "mtasc -swf tuto_2.swf -header 800:600:20 -main Tuto.as -v >report.txt"
>
> now "report.txt" has an output, but it does not have the messages of error
> in the code of "Tuto.as" (let us suppose that "Tuto.as" has errors)
>
> then:  because I do not obtain the correct output message?
>
> thanks in advance,
> Horacio

Errors are printed to stderr, not stdout.
You need to redirect the output using  2>report.txt

Nicolas




More information about the mtasc mailing list