| Ticket UUID: | ab913b8e9e639e85350af98e7d4a4e76f53dfc6a | ||
| Title: | xterm window closes by itself when we run “ctrl + c” | ||
| Type: | Bug | Created on: | 2023-11-16 16:41:42 |
| Submitter: | arvind29 | Assigned to: | nobody |
| Subsystem: | - New Builtin Commands | Severity: | Minor |
| Priority: | 7 High | Last modified: | 2023-11-18 10:47:16 |
| Status: | Open | Closed by: | nobody |
| Resolution: | None | Closed on: | |
| Version: | 8.6.8 | ||
| Description: | ||||
Hello, On tcl prompt Xterm window is opening whenever I run “exec xterm &”. But xterm window closes by itself when we run “ctrl + c” after “exec xterm &”. Please let me know if there is any way so that Xterm window remains open even when we run “ctrl + c” is used. | ||||
| User Comments: | ||||
oehhar added on 2023-11-16 16:50:08:
I suppose, this is normal behabviour. The xterm is a child process of tcl. If tcl is exited, xterm exits also. Try the same with sh:
There are for sure other ways to call a process, so it remains running when the parent is stopped. Take care, Harald Disclaimer: WIndows user here, limitted Linux knowledge... chrstphrchvz added on 2023-11-18 10:47:16:
The discrepancy could be that if tclsh is instead closed using exit or Ctrl+D then xterm stays open. | ||||
