Remove handle-subprocess-status-change from nonblocking/subprocess-
authorMatt Birkholz <matt@birkholz.chandler.az.us>
Fri, 19 Oct 2012 19:11:57 +0000 (12:11 -0700)
committerMatt Birkholz <matt@birkholz.chandler.az.us>
Fri, 19 Oct 2012 19:11:57 +0000 (12:11 -0700)
wait.  Block-on-process-status-change has just continued because
handle-subprocess-status-change was just called; don't call it again.

src/runtime/process.scm

index 8d2b018dcad84cec8144f1faf6f14f73988f975a..384dc2d7329bc8d49b85861ff122fda293a3e687 100644 (file)
@@ -209,9 +209,7 @@ USA.
    (lambda ()
      (let ((status (%subprocess-status process)))
        (if (eqv? status 0)
-          (begin
-            (block-on-process-status-change)
-            (handle-subprocess-status-change)))))))
+          (block-on-process-status-change))))))
 
 (define hook/subprocess-wait normal/subprocess-wait)