From 944d1af3721c8acec0a1a641f0d7c080674edf64 Mon Sep 17 00:00:00 2001 From: Alan Knowles Date: Mon, 29 Aug 2016 17:00:25 +0800 Subject: [PATCH] Spawn.vala --- Spawn.vala | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Spawn.vala b/Spawn.vala index ab138008..1601af14 100644 --- a/Spawn.vala +++ b/Spawn.vala @@ -294,8 +294,7 @@ public class Spawn : Object this.out_src = (int) this.out_ch.add_watch ( IOCondition.OUT | IOCondition.IN | IOCondition.PRI | IOCondition.HUP | IOCondition.ERR , (channel, condition) => { - - return this.out_ch != null ? this.read(this.out_ch) : false; + return this.out_ch != null ? this.read(this.out_ch) : true; } ); this.err_src = (int) this.err_ch.add_watch ( -- 2.39.2