Run EXE from Blitzmax program

BlitzMax Forums/BlitzMax Programming/Run EXE from Blitzmax program

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

Try this. It allows the launched program to continue after the parent program has closed.

Extern "win32"
	Function WinExec(lpCmdLine$z, nCmdShow)
End Extern

WinExec Chr$(34) + "notepad" + Chr$(34), 1
End