From: Alan Knowles Date: Fri, 2 May 2014 10:41:56 +0000 (+0800) Subject: Spawn.vala X-Git-Url: http://git.roojs.org/?p=gitlive;a=commitdiff_plain;h=4f853ca8083db30f8d985bb9bcac2efae14a29eb Spawn.vala --- 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/, ''));