_system on mac?
BlitzMax Forums/BlitzMax Beginners Area/_system on mac?
| ||
The system_ command (sry .. misspelled in title), does it work on a Mac? I want my application to call another application in the same folder. Also, should I use a file extension, or could I call the application without it ? For example: system_ "program2" |
| ||
Bump, I found that I could use system_ this way: system_ ("open program.app") I have no Mac to test it, so I would like to know if it is possible to put two .app files in one package and then call one from the other using system_ ? |
| ||
Doesn't the Mac version come with FreeProcess? How does the Mac version of the IDE work? |
| ||
I have no Mac, so I couldn't tell. :/ I'm developing my app on a PC, so I can't test my programming. It will be enough to launch the other application, while app1 waits for it to finish, that is why I prefer using system_ I've been reading up a bit, and now what I understand is that a MacOS application is actually a folder, with an info file in it that tells the computer what the main executable is. |
| ||
I got the Command working with: system_("open BirdDemo.app") i had a test.app and a BirdDemo.app in same folder. I have no Mac to test it, so I would like to know if it is possible to put two .app files in one package and then call one from the other using system_ ? i have the answer to that question. :o) First i compiled the BirdDemo. Then i compiled a test.bmx: system_("./test.app/Contents/MacOS/BirdDemo") i copied the BirdDemo.app/Contents/MacOS/BirdDemo to test.app/Contents/MacOS/BirdDemo started test.app ... and it works :o) |