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

index 1cd9b58..a51df29 100644 (file)
@@ -359,7 +359,7 @@ public class Spawn : Object
      * @arg str {String} string to write to stdin of process
      * @returns GLib.IOStatus (0 == error, 1= NORMAL)
      */
-    public int write(String str) // write a line to 
+    private int write(String str) // write a line to 
     {
         if (this.in_ch is null) {
             return 0; // input is closed
@@ -385,7 +385,7 @@ public class Spawn : Object
      * @arg giochannel to read from.
      * @returns none
      */
-    public boolean read(ch) 
+    private boolean read(ch) 
     {
         var prop = ch == this.out_ch ? 'output' : 'stderr';
        // print("prop: " + prop);