Using Terminal to start application

huub

Registered
Hi,

In Linux and BSD I'm using e.g. gnome-terminal to start applications like octave like this: "gnome-terminal -x octave". Is this possible with Terminal as well? I tried to get the man page, but didn't get it.

Thanks.
 
How about the "open" command? A text-based command (say, "top") will open automatically in a new Terminal window, e.g.:

Code:
open `which top`

You can also override the default application with -a, if for example some other app tries to open your program:

Code:
open -a "Terminal.app" `which top`
 
Back
Top