From 0674c203ca7f2c96649880136deb69b7fe0e7572 Mon Sep 17 00:00:00 2001 From: Alan Knowles Date: Tue, 26 Sep 2017 17:20:19 +0800 Subject: [PATCH] Spawn.vala --- Spawn.vala | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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) => { }); + } } -- 2.39.2