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?

Recommended Answers

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.

Jump to Post

All 2 Replies

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.

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?

Be a part of the DaniWeb community

We're a friendly, industry-focused community of 1.20 million developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.