From 5e359e2d2c126954fb771e838e7276a648dd017d Mon Sep 17 00:00:00 2001 From: Alan Knowles Date: Fri, 2 May 2014 18:46:53 +0800 Subject: [PATCH] Spawn.vala --- Spawn.vala | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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; -- 2.39.2