The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
Google UNIX.COM


UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !!

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
kills command shwe UNIX for Dummies Questions & Answers 1 05-13-2008 08:03 AM
Bash: Exiting while true loop when terminal is not the focus window acclaypool Shell Programming and Scripting 2 02-25-2008 03:02 PM
SSH starting nohup'd process - not exiting Steve_H Shell Programming and Scripting 1 02-20-2008 01:05 PM
window 2000 professional not pinging my window 98 system. kayode Windows & DOS: Issues & Discussions 10 11-13-2003 12:12 AM
exit from telnet kills orbix process edgarm UNIX for Dummies Questions & Answers 1 11-27-2000 11:18 AM

Reply
 
Submit Tools LinkBack Thread Tools Display Modes
  #1  
Old 05-31-2007
Registered User
 

Join Date: May 2007
Posts: 1
Exiting eXceed window kills my process

Hi,

I run a binary application[Java] with GUI accessibility. To launch and close the application i follow the following steps:

1.Log into a console session. Export display to the local workstation.
2.Launch X windows app ( eXceed )
3.From terminal session go to the my application directory and run the following command : nohup /.myapplication &
4.The application service will run and the UI will launch.

[supose i did something with my applicaiton] now I will cose the GUI window.

5.Close the UI and choose to exit the myapplication workspace.
6.The UI is closed but the myapplication process is still running.
7.Close the terminal session
8.The session closes / exits but the smartreplicator process is still running
9.Close xwindows ( eXceed )
10.Exceed exits and the myapplication process is killed.

But it need be running. It seems as soon as i get out from the eXceed window my process is killed, I don't want that. How can I keep my process running exiting from the eXceed window??

Last edited by shantaputi; 05-31-2007 at 07:45 AM. Reason: Changed typos
Reply With Quote
Forum Sponsor
  #2  
Old 05-31-2007
sysgate's Avatar
Unix based
 

Join Date: Nov 2006
Location: /root
Posts: 1,197
eXceed is X server for windows, so this is expected -> when you close the parent, the child also dies. This won't happen if you're running Linux for example :
Code:
vmstat &
[+1]9494 # this is the PID.
Then if I exit the terminal session and enter again, it's still running, since it haven't received SIGKILL or other signal.
Reply With Quote
  #3  
Old 05-31-2007
jgt jgt is offline
Registered User
 

Join Date: Apr 2007
Location: 44.21.48N 80.50.15W
Posts: 348
What happens if you start myapplication in the background from the system console, or start it as a service somewhere in /etc/rc2.d ?
Reply With Quote
Google The UNIX and Linux Forums
Reply

Tags
export display

Thread Tools
Display Modes




All times are GMT -7. The time now is 01:34 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008. All Rights Reserved.Ad Management by RedTyger Visit The Complex Event Processing Blog

Content Relevant URLs by vBSEO 3.2.0