From 4f853ca8083db30f8d985bb9bcac2efae14a29eb Mon Sep 17 00:00:00 2001 From: Alan Knowles Date: Fri, 2 May 2014 18:41:56 +0800 Subject: [PATCH] Spawn.vala --- Spawn.vala | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Spawn.vala b/Spawn.vala index 26d2d3d6..73360a95 100644 --- a/Spawn.vala +++ b/Spawn.vala @@ -420,6 +420,11 @@ public class Spawn : Object //if (this.listeners[prop]) { // this.listeners[prop].call(this, x.str_return); //} + if (ch == this.out_ch) { + this.output += buffer; + } else { + this.stderr += buffer; + } _this[prop] += x.str_return; if (_this.debug) { print(prop + ':' + x.str_return.replace(/\n/, '')); -- 2.39.2