?
Solved

Starting an Apple application with a startup switch

Posted on 2011-04-22
3
Medium Priority
?
513 Views
Last Modified: 2013-12-06
I need to start an application:

 "/Applications/Adobe ColdFusion Builder 2 Beta/CFBuilder.app/Contents/MacOS/CFBuilder" -clean

I tried from terminal but I am not certain how to call it.  
How/where do I call the above command in Apple OS X 10.6.7?
In windows i could call similar start switches from the 'run' command prompt.
0
Comment
Question by:rlafleur
  • 2
3 Comments
 
LVL 15

Accepted Solution

by:
roylong earned 2000 total points
ID: 35450446
What you have type above should be sufficient in the terminal, have you double checked the app is specified in the correct path?

-- try this::

sudo "Applications... ...CF Builder" -clean

Type your administrator account password when prompted. [if you have the root user active, type this password when prompted]

You could also navigate to that directory, confirm the app is there and type ::

sudo "CF Builder" -clean

If you want to launch this from an icon then you could get it working from the Terminal; then create an Automator task/application to run the terminal command.
0
 

Author Comment

by:rlafleur
ID: 35461617
This worked.  I tried to do open  "/Applications/Adobe ColdFusion Builder 2 Beta/CFBuilder.app/Contents/MacOS/CFBuilder" -clean

sudo was the command i needed.
Thank you.
0
 

Author Closing Comment

by:rlafleur
ID: 35461626
Perfect.  sudo was the command I needed rather than open
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Information security is a multi-billion dollar industry. Just as lucrative is the black market industry which trades stolen identities, credit card numbers and software exploits all over the world. Nothing is hack-proof. The best one can do is make …
This is a tech scam I recently helped my parents through.
This video shows how to quickly and easily deploy an email signature for all users in Office 365 and prevent it from being added to replies and forwards. (the resulting signature is applied on the server level in Exchange Online) The email signat…
With just a little bit of  SQL and VBA, many doors open to cool things like synchronize a list box to display data relevant to other information on a form.  If you have never written code or looked at an SQL statement before, no problem! ...  give i…

807 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question