![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Rules & FAQ | Contribute | Members List | Arcade | 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 here. |
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| How to read terminal attributes using ioctl() | Sreejesh.S | High Level Programming | 1 | 05-17-2008 10:56 AM |
| date and time to display on the terminal | cesarNZ | Shell Programming and Scripting | 11 | 09-05-2007 04:19 PM |
| read terminal command | munnu | High Level Programming | 6 | 01-11-2007 12:56 PM |
| How to read lock terminal values in solaris | pankajarora_12 | UNIX for Dummies Questions & Answers | 0 | 07-11-2006 07:31 AM |
| read from terminal | rein | Shell Programming and Scripting | 1 | 10-21-2005 07:43 AM |
|
|
LinkBack | Thread Tools | Display Modes |
|
|||
|
Hi,
There are two scripts. The second script is called from the first one. These will create two processes on unix. In the second script, there is a read statement in the while loop. Under unexpected conditions, at the time of reading response from the user, if the terminal hungup happens, the subprocess is still running because of the loop. I need to stop the subprocess if the terminal hungup happens. I tried using trap , but it didn't work. Any help will be greatly appreciated ? Looking for quick response. Thanks, kk. |
| Forum Sponsor | ||
|
|