Spawn.vala
[gitlive] / Spawn.vala
index c9e67f5..59e1a64 100644 (file)
@@ -156,7 +156,9 @@ public class Spawn : Object
         if (this.cfg.args.length < 0) {
             throw new SpawnError.NO_ARGS("No arguments");
         }
-        this.run((res, output) => { });
+        if (!this.cfg.async) {
+               this.run((res, output) => { });
+        }
     
     }