Get (External) Process Return Code
BlitzMax Forums/BlitzMax Programming/Get (External) Process Return Code
| ||
I know of OpenURL(), System_() and Pub.FreeProcess for running executables from BlitzMax, but I can't find any way to get the value the executable returns. How can I do that? To clarify, System_ returns a value, but it's not the value I've been told to expect. So either it's returning something different, or I'm being sold a pup (again.) Last edited 2010 |
| ||
launch.bmx:Print system_("return.exe") return.bmx: exit_(10) |
| ||
Ok, thanks, Zeke. I guess I have been sold a pup on what the program is supposed to return then. |