program does not terminate correctly

BlitzMax Forums/BlitzMax Programming/program does not terminate correctly

VicToMeyeZR(Posted 2010) [#1]
I have a application that I am attempting.



NOw for some reason, the main application stays open when I select the launchbutton.


Brucey(Posted 2010) [#2]
system_ will wait until the call returns - i.e. the launched application terminates.

You should use CreateProcess instead.


VicToMeyeZR(Posted 2010) [#3]
I tried the CreateProcess, but it would terminate the secondary program when the master terminated


GfK(Posted 2010) [#4]
Try OpenURL().


VicToMeyeZR(Posted 2010) [#5]
perfect. That did the trick


Dreamora(Posted 2010) [#6]
alternatively use CreateProcess with the correct flag


VicToMeyeZR(Posted 2010) [#7]
Whats the flags?

What flag would you use to keep the program open when the master program terminates?