Sponsored Content
Top Forums UNIX for Dummies Questions & Answers Exiting eXceed window kills my process Post 302119704 by shantaputi on Thursday 31st of May 2007 10:43:30 AM
Old 05-31-2007
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 11:45 AM.. Reason: Changed typos
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

exit from telnet kills orbix process

Hi, I'm using a bourne shell to kick off a 3rd Pty app. This app uses Orbix. When I exit from the telnet session which started the app or hit CTRL-C at the command line, the orbix process dies, yet all other process remain. I've tried starting the app as a background process, but it still... (1 Reply)
Discussion started by: edgarm
1 Replies

2. Windows & DOS: Issues & Discussions

window 2000 professional not pinging my window 98 system.

Hello, We someone help me resolve this problem. I have window 2000 professional, windows 98 and Unixware 7.0.1 on the network. I was able to establish connection with all. However, l was unable to ping window 98 from window 2000 professional. I was able to ping the window 2000 from the window... (10 Replies)
Discussion started by: kayode
10 Replies

3. Shell Programming and Scripting

Bash: Exiting while true loop when terminal is not the focus window

I am running an Ubuntu Gutsy laptop with Advanced Compiz fusion options enabled. I am using xdotool to simulate keyboard input in order to rotate through multiple desktops. I am looking for a way to kill a while true loop when the Enter key (or Control+C if it is easier) is pushed when the... (2 Replies)
Discussion started by: acclaypool
2 Replies

4. UNIX for Dummies Questions & Answers

kills command

what are the header files required for the kills command in kernel version 2.4? (1 Reply)
Discussion started by: shwe
1 Replies

5. Shell Programming and Scripting

How to get rid of message when script kills process it started?

When I run the following script I get the following error message whcih I would like to suppress when the kill is issued: ./kill.sh: line 13: 31854 Killed nc -l -p 12345 Script: #!/bin/bash echo running nc in the background nc -l -p 12345 & PID=$! echo nc pid: $PID ... (1 Reply)
Discussion started by: cmarkle
1 Replies

6. Shell Programming and Scripting

SSH starting nohup'd process - not exiting

I'm trying to ssh into a remote server, run a script which may or may not start a nohup'd background process and then exit leaving the process running on the remote server. I'm looping through a number of servers to do this but the script hangs as soon as it comes to a server where the remote... (3 Replies)
Discussion started by: Steve_H
3 Replies

7. AIX

How to kill exiting process in AIX

I could not able to kill two process which is running in the required port for me.Can any body help me to kill the exiting process. - 27000908 - - - <exiting> - 30998528 - - - <exiting> (8 Replies)
Discussion started by: sasikanta
8 Replies

8. Shell Programming and Scripting

Script to Send Email to a user when an admin kills process

Can anyone create or give me a script that I can use to email a user automatically when I kill one of their processes? Or Can you give me a script to allow me to email a user (entering email manually) when a process is killed? Like showing what the PID was and a reason the admin killed it? Is... (2 Replies)
Discussion started by: JoeGazz84
2 Replies

9. Shell Programming and Scripting

Process with tee is not exiting out

Hi I have a script which we are calling as below from another script but it does not exit out and just hang there. main.ksh #!/bin.ksh echo "test1" test.ksh | tee /tmp/abc.txt echo "test2" it prints test1 and then just hangs on test.ksh | tee /tmp/abc.txt if i check the messages from... (3 Replies)
Discussion started by: reldb
3 Replies

10. UNIX for Beginners Questions & Answers

Toggle between xterm window and standard terminal window

Is it possible to toggle back and forth between an xterm invoked from one tty, and a shell invoked from a different tty? I am running Centos 7 with KDE and booting in non-graphic mode. After logging in on the default window (/dev/tty1) , I can then use ALT-F2 to access a new window (/dev/tty2),... (1 Reply)
Discussion started by: rhgscty
1 Replies
gnome-session-save(1)						   User Commands					     gnome-session-save(1)

NAME
gnome-session-save - saves or terminates the current GNOME session SYNOPSIS
gnome-session-save [--gui] [--kill] [--session-name=name] [--silent] [gnome-std-options] DESCRIPTION
gnome-session-save can be used from a GNOME session to save a snapshot of the currently running applications. This session will be later restored at your next GNOME startup session. OPTIONS
The following options are supported: --gui If specified, then any errors will be displayed in a dialog box. Otherwise, such messages are displayed to stderr. Note that this option has no affect any dialogs that the window manager might display. --kill Terminates the GNOME session. The session will not be saved if this option is provided, unless the user has configured their session to always save on logout. -s, --session-name=name Set name of session to save. --silent Avoids displaying any confirmation or dialogs, including ones that are displayed by the window manager (such as dialogs informing the user about any windows that cannot save session, or session logout confirmation when the --kill option is also used). gnome-std-options Standard options available for use with most GNOME applications. See gnome-std-options(5) for more information. EXAMPLES
Example 1: Saving the user's current session example% gnome-session-save Example 2: Terminating the user's current session example% gnome-session-save --kill EXIT STATUS
The following exit values are returned: 0 Application exited successfully >0 Application exited with failure FILES
The following files are used by this application: /usr/bin/gnome-session-save The command-line executable for the application. ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Availability |SUNWgnome-session | +-----------------------------+-----------------------------+ |Interface stability |Volatile | +-----------------------------+-----------------------------+ SEE ALSO
gnome-session(1), metacity(1), attributes(5), gnome-std-options(5) NOTES
Written by Brian Cameron, Sun Microsystems Inc., 2003, 2006, 2007. SunOS 5.11 07 Nov 2007 gnome-session-save(1)
All times are GMT -4. The time now is 08:05 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy