ignore SIGCHLD to reap zombies
authorMichael Gernoth <michael@gernoth.net>
Sun, 13 Jan 2008 13:34:24 +0000 (14:34 +0100)
committerMichael Gernoth <michael@gernoth.net>
Sun, 13 Jan 2008 13:34:24 +0000 (14:34 +0100)
res/micropolis.tcl

index 421fd2b..ff1ad9b 100644 (file)
@@ -941,6 +941,7 @@ proc EchoPlaySound {soundspec} {
   global Sound
   if {$Sound} {
     echo PlaySound [lindex $soundspec 0]
+    signal ignore SIGCHLD
     exec play res/sounds/[string tolower [lindex $soundspec 0]].wav &
   }
 }
Impressum, Datenschutz