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.
Best Of |
Favorites & Replies |
Start a New Board |
My Fool |
BATS data provided in real-time. NYSE, NASDAQ and NYSEMKT data delayed 15 minutes.
Real-Time prices provided by BATS. Market data provided by Interactive Data.
Company fundamental data provided by Morningstar. Earnings Estimates, Analyst Rat