UnThreaded | Threaded | Whole Thread (27) | Ignore Thread Prev | Next
Author: hy7ujhy7 One star, 50 posts Add to my Favorite Fools Ignore this person (you won't see their posts anymore) Number: of 65689  
Subject: Re: OS X: back to 9.1 for now Date: 4/17/2001 2:20 AM
Post New | Post Reply | Reply Later | Create Poll . Report this Post | Recommend it!
Recommendations: 0
or Mail.app if via the commant line.

Do you mean from the Terminal command line? It doesn't work for me there. I can execute:
/Applications/Mail.app/Contents/MacOS/Mail
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 something.app/Contents/MacOS 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.
Post New | Post Reply | Reply Later | Create Poll . Report this Post | Recommend it!
Print the post  
UnThreaded | Threaded | Whole Thread (27) | Ignore Thread Prev | Next

Announcements

Pencils of Promise - Back to School Drive
"Pencils of Promise works with communities across the globe to build schools and create programs that provide education opportunities for children."
Managing Your Wealth
Our own TMFHockeypop from Rule Your Retirement fame on the TV show Managing Your Wealth.
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.
What was Your Dumbest Investment?
Share it with us -- and learn from others' stories of flubs.
Community Home
Speak Your Mind, Start Your Blog, Rate Your Stocks

Community Team Fools - who are those TMF's?
Contact Us
Contact Customer Service and other Fool departments here.
Work for Fools?
Winner of the Washingtonian great places to work, and "#1 Media Company to Work For" (BusinessInsider 2011)! 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.
Advertisement