Running executable without opening terminal (OS X)
I'm not really sure what the proper forum for this is. Basically, I have compiled a small program (written in C++) that I want to execute. It first creates an AppleScript, then runs it. But, when the program is run (it is a 'Unix executable file'), I want to to run without opening a terminal window. Anyone know how can I do this on OS X?
Rickay
Junior Poster in Training
55 posts since Jul 2010
Reputation Points: 5
Solved Threads: 0
Run it as a background process:
$ ./myprog &
I'm not 100% with OS X, but in theory this should work since Darwin is based on Unix.
Narue
Bad Cop
15,460 posts since Sep 2004
Reputation Points: 6,464
Solved Threads: 1,401
How exactly? I want someone to be able to click on an icon and have it run, without terminal appearing. How do I make it a background process by default?
Rickay
Junior Poster in Training
55 posts since Jul 2010
Reputation Points: 5
Solved Threads: 0