Running a command in a new Mac OS X Terminal window.

Posted by Walt D on Stack Overflow See other posts from Stack Overflow or by Walt D
Published on 2009-06-12T22:26:28Z Indexed on 2010/05/21 2:40 UTC
Read the original article Hit count: 255

Filed under:
|
|
|

Hi,

I've been trying to figure out how to run a bash command in a new Max OS X Terminal.app window. As, an example, here's how I would run my command in a new bash process:

bash -c "my command here"

But this reuses the existing terminal window instead of creating a new one. I want something like:

Terminal.app -c "my command here"

But of course this doesn't work. I am aware of the "open -a Terminal.app" command, but I don't see how to forward arguments to the terminal, or even if I did what arguments to use.

Thanks!

© Stack Overflow or respective owner

Related posts about mac

Related posts about terminal