From 78621eaf06068ed3b2d07e264e4fc570949cbfb0 Mon Sep 17 00:00:00 2001 From: Alan Knowles Date: Tue, 26 Sep 2017 17:22:10 +0800 Subject: [PATCH] Spawn.vala --- Spawn.vala | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Spawn.vala b/Spawn.vala index 59e1a643..771a5df0 100644 --- a/Spawn.vala +++ b/Spawn.vala @@ -324,7 +324,7 @@ public class Spawn : Object //but... let's close input now.. this.in_ch.shutdown(true); this.in_ch = null; - + } catch (Error e) { this.tidyup(); @@ -348,7 +348,7 @@ public class Spawn : Object //if (this.cfg.debug) { // // } - this.ctx = new MainLoop (); + this.ctx = MainLoop (); this.ctx.run(); // wait fore exit? //print("main_loop done!"); @@ -363,7 +363,7 @@ public class Spawn : Object errstr += this.output.length > 0 ? "\n" : ""; errstr += this.stderr; //print("Throwing execute error:%s\n", errstr); - throw new SpawnError.EXECUTE_ERROR(errstr); + throw SpawnError.EXECUTE_ERROR(errstr); //this.toString = function() { return this.stderr; }; ///throw new Exception this; // we throw self... } -- 2.39.2