Spawn.vala
[gitlive] / Spawn.vala
index 21a3b6c..32c514a 100644 (file)
@@ -427,9 +427,9 @@ public class Spawn : Object
                     }
                     //_this[prop] += x.str_return;
                     if (this.cfg.debug) {
-                        stdout.print("%s : %s", prop , str_return);
+                        stdout.printf("%s : %s", prop , str_return);
                     }
-                    if (this.async) {
+                    if (this.cfg.async) {
                         try {
                             if ( Gtk.events_pending()) {
                                  Gtk.main_iteration();