![]() |
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts and shell scripting languages here. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| How to detect if a Windows app dies?? | jimmyc | Windows & DOS: Issues & Discussions | 6 | 12-07-2006 04:31 PM |
| how to detect errors in unzip | jasongr | Shell Programming and Scripting | 2 | 02-22-2006 11:28 AM |
| How to use Kill cmd when detect rogue | agui | UNIX for Dummies Questions & Answers | 8 | 01-06-2004 11:02 PM |
| How to detect process | pkanonwe | Shell Programming and Scripting | 2 | 10-18-2002 10:33 AM |
| Not able to detect nr of cpu in Solaris System | pbonato | UNIX for Dummies Questions & Answers | 1 | 04-04-2002 09:29 AM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
xterm detect
i have this script that launches multiple xterm sessionon a CDE. i would like to test the xterm so that when i execute the script using an ordinary terminal it will detect that it will unable to launch the xterm and execute other script instead.
i tried using trap and exit status. maybe i am doing something wrong. pls help. thanks, |
|
||||
|
done
i just record the process id (using $!) when i launched the application and wait for a few seconds then check it with the "ps -ef" command. since the box will automatically kill the process if it is not possible to launch the application otherwise it will register in the "ps -ef".
thanks, |
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|