Spawn.vala
authorAlan Knowles <alan@akbkhome.com>
Sat, 4 Jan 2014 19:59:51 +0000 (03:59 +0800)
committerAlan Knowles <alan@akbkhome.com>
Sat, 4 Jan 2014 19:59:51 +0000 (03:59 +0800)
Spawn.vala

index b20fdb2..c4cfcf9 100644 (file)
@@ -303,8 +303,8 @@ public class Spawn : Object
             this.tidyup(); // tidyup get's called in main loop. 
         }
         
-        if (this.exceptions && this.result != 0) {
-            this.toString = function() { return this.stderr; };
+        if (this.cfg.exceptions && this.result != 0) {
+            //this.toString = function() { return this.stderr; };
             throw this; // we throw self...
         }