Launch executable

BlitzMax Forums/MaxGUI Module/Launch executable

VicToMeyeZR(Posted 2010) [#1]
Is the an executable command for Windows system?

What I mean by that, is a way to tell Win System to run an executable.


degac(Posted 2010) [#2]
Have a look to Pub.Freeprocess module: you can start and control a process/program from BlitzMax.

Other ways are:

OpenURL - limited - and based on application registered to the OS (ie: txt file --> open with Notepad, .html --> open with Firefox)

system_ name_of_program it starts a program (but you lost the control on it)

Cheers


VicToMeyeZR(Posted 2010) [#3]
thanks. Will look into those.


VicToMeyeZR(Posted 2010) [#4]
system_ name_of_program it starts a program (but you lost the control on it)

I can't find this one in the listing anywhere.

TProcess:CreateProcess closes it when the main program terminates, and thats not what I am looking for.


impixi(Posted 2010) [#5]

system_ "notepad.exe"

End




VicToMeyeZR(Posted 2010) [#6]
ah.. ok. thats makes sense. Thanks