]> cvs.zerfleddert.de Git - micropolis/commitdiff
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 421fd2b47b26feb24dd8e1425665231d6703e661..ff1ad9b0acd3a6501d4fb05d9f2f664a8dc80110 100644 (file)
@@ -941,6 +941,7 @@ proc EchoPlaySound {soundspec} {
   global Sound
   if {$Sound} {
     echo PlaySound [lindex $soundspec 0]
   global Sound
   if {$Sound} {
     echo PlaySound [lindex $soundspec 0]
+    signal ignore SIGCHLD
     exec play res/sounds/[string tolower [lindex $soundspec 0]].wav &
   }
 }
     exec play res/sounds/[string tolower [lindex $soundspec 0]].wav &
   }
 }
Impressum, Datenschutz