lib/flashsdk/fcsh.rb in flashsdk-1.0.18.pre vs lib/flashsdk/fcsh.rb in flashsdk-1.0.20.pre

- old
+ new

@@ -1,9 +1,9 @@ module FlashSDK - class FCSH < Sprout::Daemon + class FCSH < Sprout::Executable::Session ## # The the Ruby file that will load the expected # Sprout::Specification. # @@ -58,9 +58,19 @@ add_action :mxmlc ## # Exit FCSH add_action :quit + + + def system_execute binary, params + params ||= '' + ## + # Combine stdout and stderr for FCSH + # so that they both arrive on stdout + params << ' 2<&1' + super binary, params + end end end ##