Spawn.vala
authorAlan Knowles <alan@akbkhome.com>
Sat, 4 Jan 2014 19:56:35 +0000 (03:56 +0800)
committerAlan Knowles <alan@akbkhome.com>
Sat, 4 Jan 2014 19:56:35 +0000 (03:56 +0800)
Spawn.vala

index 1dc52ef..ec47855 100644 (file)
@@ -261,7 +261,7 @@ public class Spawn : Object
           
         
         // call input.. 
-        if (this.pid !== false) {
+        if (this.pid > -1) {
             // child can exit before 1we get this far..
             if (this.listeners.input) {
                                print("Trying to call listeners");