starting an app with CreateProcess
BlitzMax Forums/BlitzMax Programming/starting an app with CreateProcess
| ||
Hello, I've got a problem with starting an appilcation out of Max. I'm using CreateProcess and it works fine with some programs such as "calc" or "notepad". But many programs are just a process and are working in the background with no window or so. So for instance "cmd". How can I avoid that, so that the app starts normally? Unfortunately, "System_" isn't an alternative as the calling program has to work on. I appreciate any hints regards, D2006 |
| ||
Try OpenUrl() This is what I tested with: OpenURL(RequestFile("Open")) OpenURL(RequestFile("Open")) Print "Launched 2 Programs" Delay 5000I hope that helped. |
| ||
Works fine so far... short forms like "calc" don't work, but in this case theres no problem to use the complete path. Thank you! I didn't know that you can open apps, too and not only webpages and folders. regards, D2006 |