Spawn.vala
[gitlive] / Spawn.vala
index 40ba172..1be17e9 100644 (file)
@@ -350,6 +350,8 @@ public class Spawn : Object
         }
         
         if (this.cfg.exceptions && this.result != 0) {
+           
+            throw new SpawnError.EXEC_ERROR(this.stderr);
             //this.toString = function() { return this.stderr; };
             ///throw new Exception this; // we throw self...
         }