2

How can I find the return value of a executable which has been invoked by a AIR app using the NativeProcess API? I am using Flash Builder 4. The following c++ generated executable

festival --tts "HelloSpeak.txt"

works fine on the Windows cmd line , but on invoking by the NativeProcess API like in the example article doesn't produce the desired result. I invoke the command with the arguments on a button click handler, but there is no TTS generated output. I don't have a clue of what is happening!!

iceman
  • 4,211
  • 13
  • 65
  • 92

1 Answers1

0

NativeProcess sends exit event when finished, code is event.exitCode parameter.

alxx
  • 9,897
  • 4
  • 26
  • 41