[haXe] Retrieving prompt messages

Nicolas Cannasse ncannasse at motion-twin.com
Mon Sep 11 09:46:18 CEST 2006


> Hello there!
> 
> I was wondering how I can retrieve the prompt command's messages. For
> instance, FlashDevelop gets haXes output messages and show them in the
> Output panel. Is there a way to do this with haXe?

Not directly.
Getting a process output is not something that much easy to do. However
you can run commands from haXe/Neko by using neko.Sys.command and use
">file" to redirect the output to a temporary file that you can then
read using neko.io.File

> Another question (I already did this question, but I think my other
> email was sent to wrong adress):
> The haXe plugin for FlashDevelop has a bug. When compiling, FD send this
> alert message:

Will be fixed with haXe 1.07

Nicolas



More information about the Haxe mailing list