Running a application

BlitzMax Forums/BlitzMax Beginners Area/Running a application

Sanctus(Posted 2008) [#1]
Maybe I don't know how to search but I'm trying to open another application from a blitzmax one and I can't.
I'd also need to open a folder.
Are there any commands for this or any ways?


GfK(Posted 2008) [#2]
OpenURL() ?


Queller(Posted 2008) [#3]
Sanctus to get an executable going from BlitzMax, include pub.freeprocess, and use like so:

Local str:String = "path_to_exe/exe_name"

Local process:TProcess = CreateProcess(str, HIDECONSOLE)

Also, set HIDECONSOLE to 0 if you dont want to hide the program. Getting executables going is straight forward if you look at the pub.freeprocess module.