1

For example, if I have a command line program (say nano) I want to launch directly with a shortcut, but I want the new instance of Terminal.app to have a dock icon depicting nano running in a terminal window, and for it to be named "Nano" in the dock. I also need this to be done without creating a second copy of the Terminal.app file, and preferably for it to be compatible with the command open -n -a Terminal.app /path/to/binary

  • You said "and preferably for it to be compatible with the command open -n -a Terminal.app /bin/bash/nano" and that command returns "The file /bin/bash/nano does not exist." – user3439894 Mar 1 '17 at 5:47
  • @user3439894 that was a typo, I had meant to type the location of the nano binary and accidently appended it to the Bash path. Just assume for the sake of the hypothetical that the file does exist, because I was only using nano as an example anyway and would be using it with my own command line program in practice. When I said "compatible" I meant it needed to be usable in conjunction with the solution. – Alison E.E. Mar 1 '17 at 22:17

You must log in to answer this question.

Browse other questions tagged .