Spawn.vala
authorAlan Knowles <alan@roojs.com>
Fri, 2 May 2014 10:42:28 +0000 (18:42 +0800)
committerAlan Knowles <alan@roojs.com>
Fri, 2 May 2014 10:42:28 +0000 (18:42 +0800)
Spawn.vala

index 811b96f..912689d 100644 (file)
@@ -427,7 +427,7 @@ public class Spawn : Object
                     }
                     //_this[prop] += x.str_return;
                     if (_this.debug) {
-                        print(prop + ':' + x.str_return.replace(/\n/, ''));
+                        stdout.print("%s : %s", prop , str_return);
                     }
                     if (this.async) {
                         try {