lukebayes/project-sprouts

When using fcsh, compile errors are not displayed.

Closed this issue · 1 comments

I think I managed to fix this by editing this line:

http://github.com/lukebayes/project-sprouts/blob/0.7.241-release/bundles/as3/lib/sprout/fcsh_service.rb#L43

to:
@process = User.execute_silent(exe, '2>&1')

This causes the STDERR to be captured as well and passed back to the caller.

Previously the fcsh wrapper would silently eat errors and you'd have no idea why your SWF wasn't updated (or created).

I am not sure if 2>&1 is nice and cross-platform so I will leave it to you to figure out a proper way to do this, but the problem is quite bad, making fcsh unusable from a practical perspective.

This is fixed in the v 1.1.x prerelease.

Thanks!

Luke