X-Git-Url: http://cvs.zerfleddert.de/cgi-bin/gitweb.cgi/micropolis/blobdiff_plain/4809bf6ac93e116ac30932bb00730d308245e2e5..42be101dbb6e2183730f6509f8e3b76380fbd460:/res/micropolis.tcl diff --git a/res/micropolis.tcl b/res/micropolis.tcl index 421fd2b..9546884 100644 --- a/res/micropolis.tcl +++ b/res/micropolis.tcl @@ -412,8 +412,8 @@ sim ResetDynamic # the font in res (because it's already in the system fonts). These lines # are for other systems that lack the font. set FontPath "[pwd]/res/dejavu-lgc" -system "xset -fp $FontPath >&/dev/null" -system "xset +fp $FontPath >&/dev/null" +system "xset -fp $FontPath >/dev/null 2>&1" +system "xset +fp $FontPath >/dev/null 2>&1" ######################################################################## @@ -940,8 +940,9 @@ proc EchoPlaySound {soundspec} { # Temporary workaround to tell Python Sugar app to play sound. global Sound if {$Sound} { - echo PlaySound [lindex $soundspec 0] - exec play res/sounds/[string tolower [lindex $soundspec 0]].wav & + #echo PlaySound [lindex $soundspec 0] + signal ignore SIGCHLD + exec res/sounds/player res/sounds/[string tolower [lindex $soundspec 0]].wav & } }