From: Alan Knowles Date: Fri, 2 May 2014 10:46:53 +0000 (+0800) Subject: Spawn.vala X-Git-Url: http://git.roojs.org/?p=gitlive;a=commitdiff_plain;h=5e359e2d2c126954fb771e838e7276a648dd017d Spawn.vala --- diff --git a/Spawn.vala b/Spawn.vala index 81a7594a..b35fc561 100644 --- a/Spawn.vala +++ b/Spawn.vala @@ -346,9 +346,9 @@ public class Spawn : Object Process.close_pid(this.pid); // hopefully kills it.. this.pid = -1; } - if (this.in_ch) this.in_ch.close(); - if (this.out_ch) this.out_ch.close(); - if (this.err_ch) this.err_ch.close(); + if (this.in_ch) this.in_ch.shudown(true); + if (this.out_ch) this.out_ch.shudown(true); + if (this.err_ch) this.err_ch.shudown(true); // blank out channels this.in_ch = false; this.err_ch = false;