saggi_crishna
09-12-2002, 10:39 AM
Hi,
I have the following problem in Mac OS X.
I have an application which is a console launcher (.command file which starts on a console or terminal). I need to call this console launcher from a graphical launcher (a .app file). This graphical launcher calls a java program and which inturn calls this console launcher thru Runtime.getexec() method in java. But when i launch this thru' this java program then it does not show the output in console but it does it in a silent mode with out showing the output.
I would like to know whether there is any way to launch a console launcher from a java program and show its output in console or terminal so that the output is shown.
I have the following problem in Mac OS X.
I have an application which is a console launcher (.command file which starts on a console or terminal). I need to call this console launcher from a graphical launcher (a .app file). This graphical launcher calls a java program and which inturn calls this console launcher thru Runtime.getexec() method in java. But when i launch this thru' this java program then it does not show the output in console but it does it in a silent mode with out showing the output.
I would like to know whether there is any way to launch a console launcher from a java program and show its output in console or terminal so that the output is shown.