Spawn.vala
authorAlan Knowles <alan@roojs.com>
Mon, 29 Aug 2016 08:44:12 +0000 (16:44 +0800)
committerAlan Knowles <alan@roojs.com>
Mon, 29 Aug 2016 08:44:12 +0000 (16:44 +0800)
Spawn.vala

index be7a379..363fb48 100644 (file)
@@ -426,9 +426,7 @@ public class Spawn : Object
     {
         string prop = (ch == this.out_ch) ? "output" : "stderr";
        // print("prop: " + prop);
-        if (this.pid < 0) {
-            return false; // spawn complete + closed... can't read any more.
-        }
+        
         
         //print(JSON.stringify(ch, null,4));
         while (true) {