Article:
  Switcher Stories Follow Up
Subject:   I just added a G4 to the mix here...
Date:   2002-09-17 19:50:59
From:   anonymous2
Response to: I just added a G4 to the mix here...

B) You can't, from what I can see, launch a command-line program from the Finder, and you can't launch a Carbon/Cocoa app from the command line. That's exceptionally poor integration. Even the 1985 Amiga did this better. Do your homework better, first. One error has already been corrected. And here's how to launch shell scripts from the Finder.
Full Threads Oldest First

Showing messages 1 through 1 of 1.

  • I just added a G4 to the mix here...
    2002-09-17 20:39:54  malor [View]

    That's a pretty lame way to do it... renaming anything you want to run from the Finder as ".command"? That's really a kludge. I can't believe you'd consider this a good solution. What if you want to call a system binary? You could probably make a symbolic link or a short script wrapper, but that's still way kludgy.

    The Finder has the 'file' utility available from Unix. It should just call that utility or integrate the code... if it realizes that this is an executable file, it should open it automatically, possibly firing up Terminal to do so. Obviously I don't have access to the Finder code, but I just can't imagine that this would be difficult to do.

    The 'open' command, on the other hand, is pretty slick, I appreciate the other poster mentioning it. It seems like an 'open .' alias will be really useful; cd into an app directory, poke around, and then maybe 'run' to launch it.

    I stand behind my premise that Aqua and the Finder are not well-integrated with Unix. I have heard nothing but praise for NeXTStep, so I'm assuming the reason the marriage here is so bad is because of legacy Mac compatibility issues.

    I think OSX would be a BIG deal for a Mac user who wants to run existing apps on a real OS, but for a Unix geek... it's just not that hot. Yet.