Skip to content
Tcl Source Code History Of Ticket ab913b8e9e
Login

History Of Ticket ab913b8e9e

Artifacts Associated With Ticket ab913b8e9e

  1. Ticket change [e644a89782] (rid 220311) by arvind29 on 2023-11-16 16:41:42:

    1. assignee initialized to: "nobody"
    2. closer initialized to: "nobody"
    3. cmimetype initialized to: "text/x-fossil-plain"
    4. comment initialized to:
      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.
      
    5. foundin initialized to: "8.6.8"
    6. is_private initialized to: "0"
    7. login: "arvind29"
    8. priority initialized to: "5 Medium"
    9. private_contact initialized to: "24b6332679e5f96732dab3b9d46f1f0d512b2551"
    10. resolution initialized to: "None"
    11. severity initialized to: "Minor"
    12. status initialized to: "Open"
    13. submitter initialized to: "arvind29"
    14. subsystem initialized to: "- New Builtin Commands"
    15. title initialized to:
      xterm window closes by itself when we run “ctrl + c”
      
    16. type initialized to: "Bug"
  2. Ticket change [438c59f5d7] (rid 220312) by arvind29 on 2023-11-16 16:46:28:

    1. login: "arvind29"
    2. mimetype: "text/plain"
    3. priority changed to: "7 High"
  3. Ticket change [945c47be61] (rid 220313) by oehhar on 2023-11-16 16:50:08:

    1. icomment:
      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:
      
         *   open a shell window
         *   call xterm within it
         *   close the shell window
      
      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...
      
    2. login: "oehhar"
    3. mimetype: "text/x-fossil-wiki"
    4. username: "oehhar"
  4. Ticket change [05931f0d14] (rid 220387) by chrstphrchvz on 2023-11-18 10:47:16:

    1. icomment:
      The discrepancy could be that if tclsh is instead closed using <tt>exit</tt> or Ctrl+D then xterm stays open.
      
    2. login: "chrstphrchvz"
    3. mimetype: "text/x-fossil-wiki"