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
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
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
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
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
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
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
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
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
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
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
LEARN ABOUT HPUX
xmclipboardundocopy
XmClipboardUndoCopy(library call) XmClipboardUndoCopy(library call)
NAME
XmClipboardUndoCopy -- A clipboard function that deletes the last item placed on the clipboard
SYNOPSIS
#include <Xm/CutPaste.h>
int XmClipboardUndoCopy (display, window)
Display * display;
Window window;
(void)
DESCRIPTION
XmClipboardUndoCopy deletes the last item placed on the clipboard if the item was placed there by an application with the passed display
and window arguments. Any data item deleted from the clipboard by the original call to XmClipboardCopy is restored. If the display or win-
dow IDs do not match the last copied item, no action is taken, and this function has no effect.
display Specifies a pointer to the Display structure that was returned in a previous call to XOpenDisplay or XtDisplay.
window Specifies the window ID of a widget that relates the application window to the clipboard. The widget's window ID can be obtained
through XtWindow. The same application instance should pass the same window ID to each clipboard function it calls.
RETURN
XmClipboardSuccess
The function was successful.
XmClipboardLocked
The function failed because the clipboard was locked by another application. The application can continue to call the function
again with the same parameters until the lock goes away. This gives the application the opportunity to ask if the user wants to
keep trying or to give up on the operation.
RELATED
XmClipboardLock(3) and XmClipboardStartCopy(3).
XmClipboardUndoCopy(library call)