freeprocess & Mac OS command line
BlitzMax Forums/BlitzMax Programming/freeprocess & Mac OS command line
| ||
?Win32 Local app:String = "game.exe" ? ?MacOS Local app:String = "game.app" ? Local launch:String = app + " " + (levelID + 1) TProcess.Create(launch,0) This works for Windows, but not on Mac. It only launches the game if I remove the levelID command line parameter. I should probably be encapsulating the command + arg, but I'm not sure how or even if freeprocess will handle command line arguments. Any ideas? Thanks in advance Matt |
| ||
What about :game.app/Contents/MacOS/game 1 |
| ||
Perfect! Although I am totally confused as to what it's doing :/ Forgive me though, my experience as a Mac owner can still be counted in hours. Cheers Brucey! |