From: Alan Knowles Date: Tue, 26 Sep 2017 09:20:19 +0000 (+0800) Subject: Spawn.vala X-Git-Url: http://git.roojs.org/?p=gitlive;a=commitdiff_plain;h=0674c203ca7f2c96649880136deb69b7fe0e7572 Spawn.vala --- diff --git a/Spawn.vala b/Spawn.vala index c9e67f5d..59e1a643 100644 --- a/Spawn.vala +++ b/Spawn.vala @@ -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) => { }); + } }