How to start up another process in a new Terminal window
Hi,
I have a program that runs on the command line in Terminal. Within the program, I need to be able to start up a new Terminal window and start a new instance of the program (with different arguments). I am able to accomplish this using xterm. But instead of relying on xterm, I would like to accomplish this in Terminal. The program produces useful screen output so this is the reason a new Terminal window needs to be opened.
Does anyone have a suggestion how I can accomplish this? I have looked extensively into the "open" command with no solution. The open command will start up a new instance of the program, but it does not process the arguments supplied to the program. Even using the --args argument for open, my Fortran program completely ignores these arguments.
Thank you for any suggestions.
I have a program that runs on the command line in Terminal. Within the program, I need to be able to start up a new Terminal window and start a new instance of the program (with different arguments). I am able to accomplish this using xterm. But instead of relying on xterm, I would like to accomplish this in Terminal. The program produces useful screen output so this is the reason a new Terminal window needs to be opened.
Does anyone have a suggestion how I can accomplish this? I have looked extensively into the "open" command with no solution. The open command will start up a new instance of the program, but it does not process the arguments supplied to the program. Even using the --args argument for open, my Fortran program completely ignores these arguments.
Thank you for any suggestions.
Mac Pro, Mac OS X (10.6.7)