Make StdC++ Console App Droppable?

kainjow said:
I found this page which might help you.. it suggests to use file redirection to output the output to a file: http://bbs.applescript.net/viewtopic.php?pid=42439

My problem isn't getting, capturing or redirecting output from the terminal, but that the system somehow gets hung up when using cerr for output from my console app to the terminal window.

Actually, it's not a problem, I'll just bypass cerr altogether. So all I need to do is capture the integer return from myapp's main(), and use a switch block type construction in the the script to display a dialog about what happened, or didn't as the case may be.

Peace out.
 
Back
Top