X-Git-Url: http://git.roojs.org/?p=gitlive;a=blobdiff_plain;f=Spawn.vala;h=738ea44d6721d406cb253e35dc852d1d74a3d3ac;hp=704f165f80040ffab36e692c5f9576d48b8ae33f;hb=0b86050bdbbbd2985f7078ca9036be0196455398;hpb=a2f459376027e4fa429e32ad49dd88829f40b51e diff --git a/Spawn.vala b/Spawn.vala index 704f165f..738ea44d 100644 --- a/Spawn.vala +++ b/Spawn.vala @@ -370,7 +370,7 @@ public class Spawn : Object } //print("child process done - running callback, then tidyup"); - this.on_finished(this.result, this.output); + this.on_finished(this.result, this.output + (this.output.length > 0 ? "\n" : "") + this.stderr); // this.unref(); this.tidyup(); @@ -404,7 +404,7 @@ public class Spawn : Object //if (this.out_src > -1 ) GLib.source_remove(this.out_src); this.err_src = -1; this.out_src = -1; - this.unref(); + //this.unref(); }