No. of Recommendations: 0
or if via the commant line.

Do you mean from the Terminal command line? It doesn't work for me there. I can execute:
from the command line, but I'd have to put each application directory in the $path variable, or use the full path each time.

In general I'm not terribly impressed with the way the unix side and the mac side interact, at least when I'm trying to do stuff in unix. It's fine if I'm doing *just* unix, or *just* mac applications, but the intersection of the two is kind of kludgy. If I want to, say, write a python script or shell script that runs a browser pointed at a certain URL, I haven't figured out how to do it. Constructing the path, and knowing to look in is awkward, but even that doesn't work with Classic apps -- is there any way to run them from the command line? -- and a lot of GUI-fied programs just don't seem to want to run from the command line either. The mac adaptation of gnuplot, for example, may follow all the standards for being a mac application, but it apparently lost the ability to run it from the command line. So scripts that generate data and then fire up gnuplot to display it don't work. I even thought about going through applescript, since some applications are scriptable in that sense, but I couldn't find a way to run the applescript runner from a shell script or whatever -- not that going from a shell script to applescript just to run an application would be very desirable.

Don't get me wrong. I like a lot of things about OS X. I only wish I'd gone with Linux a few times a day, and I expect that over time more and more stuff will be made to work on OS X, so that in the long run I'll be happier with OS X. I chose to be an early adopter, and knew there would be some teething pain to go with it.

But if anyone has some pointers on what I'm doing wrong in trying to put together some simple python scripts and shell scripts to run various applications, or could point me to a site that has people trying to do unix-like things with OSX, I'd sure appreciate it.
Print the post  


When Life Gives You Lemons
We all have had hardships and made poor decisions. The important thing is how we respond and grow. Read the story of a Fool who started from nothing, and looks to gain everything.
Contact Us
Contact Customer Service and other Fool departments here.
Work for Fools?
Winner of the Washingtonian great places to work, and Glassdoor #1 Company to Work For 2015! Have access to all of TMF's online and email products for FREE, and be paid for your contributions to TMF! Click the link and start your Fool career.