[haiku-bugs] [Haiku] #9687: [bin:kill] crashes if pid doesn't exit

  • From: "diver" <trac@xxxxxxxxxxxx>
  • Date: Fri, 19 Apr 2013 07:20:37 -0000

#9687: [bin:kill] crashes if pid doesn't exit
---------------------------------------------+-----------------------------
 Reporter:  diver                            |        Owner:  phoudoin
     Type:  bug                              |       Status:  new
 Priority:  normal                           |    Milestone:  R1
Component:  Applications/Command Line Tools  |      Version:
 Keywords:                                   |  R1/Development
 Blocking:                                   |   Blocked By:
 Platform:  All                              |  Has a Patch:  0
---------------------------------------------+-----------------------------
 If one tries to kill by pid, if e.g. the pid doesn't exit, kill crashes
 and one sees the message twice:

 ~/> kill 1234
 kill: 1234: No such process
 kill: 1234: No such process


 Also kill doesn't print the message at all if one tries to kill by process
 name which doesn't exist:

 ~/> kill foo

--
Ticket URL: <http://dev.haiku-os.org/ticket/9687>
Haiku <http://dev.haiku-os.org>
Haiku - the operating system.

Other related posts: