[haiku-bugs] Re: [Haiku] #3745: Preferences : "[x] Warn upon closing active programs"

  • From: "jackburton" <trac@xxxxxxxxxxxx>
  • Date: Mon, 19 Jul 2010 18:57:05 -0000

#3745: Preferences : "[x] Warn upon closing active programs"
------------------------------------+---------------------------------------
  Reporter:  mmadia                 |         Owner:  jackburton   
      Type:  enhancement            |        Status:  new          
  Priority:  normal                 |     Milestone:  R1           
 Component:  Applications/Terminal  |       Version:  R1/pre-alpha1
Resolution:                         |      Keywords:               
Blocked By:                         |   Has a Patch:  0            
  Platform:  All                    |      Blocking:               
------------------------------------+---------------------------------------

Comment (by jackburton):

 Replying to [comment:3 bonefish]:

 > Maybe I misunderstand what you're saying. waitpid() does not tell you
 whether there are still living children. It does only tell you about
 terminated children. I don't see what this has to do with this ticket,
 though. Isn't this just about checking whether number of tabs > 1 before
 quitting?

 More useful would be what the Gnome Terminal do.
 If you have an active program executed in the shell (for example, a ssh or
 telnet session), it warns you (on close) that there is something active.
 I thought waitpid() could be used to check that, but I probably misread
 the documentation.

-- 
Ticket URL: <http://dev.haiku-os.org/ticket/3745#comment:4>
Haiku <http://dev.haiku-os.org>
Haiku - the operating system.

Other related posts: