S.Execute("C:\\Program Files\\Microsoft Games\\Chess. The SAME is NOT true in all cases on Windows For this Tutorial, you are building an iOS app, so click on iOS. Xojo lets you build several different types of apps (Desktop, Web, Console and iOS). If Xojo is already running, choose File > New Project. In the Info.Plist its the key named CFBundleExecutableįor Chess this entry looks like CFBundleExecutable After it finishes loading, the Project Chooser window appears. The path to the main executable in an app bundle is VERY consistent (always in /Contents/MacOS) but you could read it from the plist since it could have a different name than the bundle name Note that you will not get to the break point until AFTER you quit chess S.Execute("/Applications/Chess.app/Contents/MacOS/Chess") On macOS a synchronous shell should work but you basically have to craft the right command to run at the shells “command line” its not actually the exact same as a Terminal window shell so be careful about thatīut something like this will wait until Chess is quit Its not supposed to and its mostly a good thing it doesnt
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |