src/Spawn.vala
authorAlan Knowles <alan@roojs.com>
Fri, 15 May 2015 03:01:12 +0000 (11:01 +0800)
committerAlan Knowles <alan@roojs.com>
Fri, 15 May 2015 03:01:12 +0000 (11:01 +0800)
src/Spawn.vala

index 05a94de..a81545a 100644 (file)
@@ -11,7 +11,9 @@ using GLib;
  * 
  * // these are optionall..
  * x.env = ..... (if you need to set one...
- * x.output_line.connect((string str) => { ... });
+ * x.output_line.connect((string str) => { 
+ *             if ( Gtk.events_pending()) { Gtk.main_iteration(); } 
+ * });
  * x.input_line.connect(() => { return string });
  * 
  * x.run((int res, string output, string stderr) => { ... });