Starting Apps with Blitzmax

BlitzMax Forums/BlitzMax Beginners Area/Starting Apps with Blitzmax

N3m(Posted 2005) [#1]
is there no function to start other apps? i can't finde one.


ImaginaryHuman(Posted 2005) [#2]
not yet


Todd(Posted 2005) [#3]
If nothing else, you may be able to get by with the C library's 'system' function. Use it like so:

' For Linux/UNIX Commands:
error = system_("/usr/bin/whatever")

'For Mac OS X Apps:
error = system_("open /Applications/Whatever.app")

'For Windows (untested):
error = system_("C:/Path/To/MyApp.exe")

If Not Error Then Print "Success!"
If Error Then Print "Failure! Error Code: " + error