LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Executing an application via xterm (https://www.linuxquestions.org/questions/linux-software-2/executing-an-application-via-xterm-530582/)

g4j31a5 02-19-2007 09:06 PM

Executing an application via xterm
 
Hi, anybody know how to execute a file via xterm? But the problem is the application has some terms:

1. It requires resources, like data files or such, in different folders inside the folder of the executable.

2. It displayed a log into the screen (it cout-ed every log or status onto the screen) so I needed the xterm to not close after executing the application.

Thanks in advance.

g4j31a5 02-20-2007 02:14 AM

BTW, I've done this:
Code:

xterm /home/user/application
But everytime I exited from the application, the xterm windows also killed. What I want is the xterm's windows to still exist even when I have exited the application because I needed to look at the log that was written on the screen.

Thanks in advance.

colucix 02-20-2007 02:25 AM

Can't you simply launch xterm by itself and then launch the /home/user/application from there? Just a guess...

restless 02-20-2007 11:16 AM

i'm not completely sure, but isn't it possible to run that application like this:

# pathtoapp/app >> log

i think it is.. can't verify atm tho


All times are GMT -5. The time now is 08:28 PM.