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

index 5a27706..a368638 100644 (file)
@@ -285,7 +285,7 @@ public class Spawn : Object
             }
         }
         // async - if running - return..
-        if (this.async && this.pid) {
+        if (this.async && this.pid > -1) {
             return this;
         }