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

index cd7a244..8602c66 100644 (file)
@@ -224,14 +224,14 @@ public class Spawn : Object
          
         if (this.cfg.debug) {
             
-            stdout.print("PID: %d" ,this.pid);
+            stdout.printf("PID: %d" ,this.pid);
         }
          
         ChildWatch.add (this.pid, (w_pid, result) => {
            
             this.result = result;
             if (this.debug) {
-                print("child_watch_add : result:%d ", result);
+                stdout.printf("child_watch_add : result:%d ", result);
             }
            
             this.read(this.out_ch);