Running another program from a blitz program
BlitzMax Forums/BlitzMax Beginners Area/Running another program from a blitz program| 
 | ||
| Is there a way to run another .exe from inside a blitzmax program? | 
| 
 | ||
| The 'system_' function or the TProcess type. | 
| 
 | ||
| Um, could you give me an example? I really have no idea what those are. | 
| 
 | ||
| If you dont know what a Function or Type is, running external executables are the least of your worries ;) In any case... its worth mentioning that system_ blocks the running program, while TProcess does not. 
system_("notepad.exe")
''or
Local proc:TProcess = CreateProcess("notepad.exe")
While proc.Status()
  Print "notepad is still running"
  Delay 500
Wend
 | 
| 
 | ||
| Thanks grable that works great! |