Operating System - Tru64 Unix
1748179 Members
4004 Online
108759 Solutions
New Discussion юеВ

lock the window so that the application can run .

 
Rambo_1
Regular Advisor

lock the window so that the application can run .

The problem is if I closedown the window ,and then the application close too.
Is there method to solve this ?
Can I lock the windown so that keep the applicaton running .
Thanks
5 REPLIES 5
Michael Schulte zur Sur
Honored Contributor

Re: lock the window so that the application can run .

Hi,

can you explain, which kind of application you want to run and what you mean by lock?

Are you using a telnet window or a xwindow?

Michael
vishnu_6
New Member

Re: lock the window so that the application can run .

execute your application with "nohup" command to run your application even though u have closed the session .

hope it will help you
Michael Schulte zur Sur
Honored Contributor

Re: lock the window so that the application can run .

Hi,

as vishnu says, you can prevent an application from terminating by using nohup. However only applications, which do not require input from or output to a terminal can be used. When you exit, init will be the father process of this application.

Michael
Johan Brusche
Honored Contributor

Re: lock the window so that the application can run .


Just a little correction to a remark in a previous reply:
Output generated by a command launched via nohup is stored in the file nohup.out created in curent working dir or $HOME.

Johan.

_JB_
Michael Schulte zur Sur
Honored Contributor

Re: lock the window so that the application can run .

Johan,

thanks for pointing to that. Well, maybe you could even get the input from a file, who knows, never tried. But I still would like to know, what Rambo means with locking. Perhaps securing the screen with a password while the programme runs?

Michael