Spawn.vala
authorAlan Knowles <alan@akbkhome.com>
Sat, 4 Jan 2014 20:02:49 +0000 (04:02 +0800)
committerAlan Knowles <alan@akbkhome.com>
Sat, 4 Jan 2014 20:02:49 +0000 (04:02 +0800)
Spawn.vala

index c4cfcf9..96bd52d 100644 (file)
@@ -168,7 +168,7 @@ public class Spawn : Object
      * result is applied to object properties (eg. 'output' or 'stderr')
      * @returns {Object} self.
      */
-    public run : function()
+    public  Spawn  run()
     {
         
          
@@ -305,7 +305,7 @@ public class Spawn : Object
         
         if (this.cfg.exceptions && this.result != 0) {
             //this.toString = function() { return this.stderr; };
-            throw this; // we throw self...
+            ///throw new Exception this; // we throw self...
         }
         
         // finally throw, or return self..