Spawn.vala
authorAlan Knowles <alan@akbkhome.com>
Sat, 10 May 2014 11:00:59 +0000 (19:00 +0800)
committerAlan Knowles <alan@akbkhome.com>
Sat, 10 May 2014 11:00:59 +0000 (19:00 +0800)
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...
         }