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

index 4c7cb36..0def9df 100644 (file)
@@ -223,7 +223,7 @@ public class Spawn : Object
        //print(JSON.stringify(gret));    
          
         if (this.cfg.debug) {
-            print("PID: " + this.pid);
+            stdout.print("PID: %d" ,this.pid);
         }
          
         ChildWatch.add (this.pid, (w_pid, result) => {