src/Spawn.vala
authorAlan Knowles <alan@roojs.com>
Fri, 15 May 2015 02:59:31 +0000 (10:59 +0800)
committerAlan Knowles <alan@roojs.com>
Fri, 15 May 2015 02:59:31 +0000 (10:59 +0800)
src/Spawn.vala

index e49bcda..553bce4 100644 (file)
@@ -38,6 +38,8 @@ public errordomain SpawnError {
  
  * 
  */
 void SpawnFinish (int res, string str, string stderr);
 
 public class Spawn : Object
@@ -49,14 +51,14 @@ public class Spawn : Object
        public signal string? input();
        /**
         * @signal output_line called when a line is recieved from the process.
+        * Note you may want to connect this and run 
+        *   if ( Gtk.events_pending()) { Gtk.main_iteration(); }
+        * 
         * @param {string} str 
         */
     public signal void output_line(string str);
     /**
         * @signal finish called when the process has completed.
-        * Note you may want to connect this and run 
-        *   if ( Gtk.events_pending()) { Gtk.main_iteration(); }
-        * 
         * @param {int} result_id (the unix return)
         * @param {string} str  (the output string)
         * @param {string} stderr  (the stderr output)