//but... let's close input now..
this.in_ch.shutdown(true);
this.in_ch = null;
-
+
} catch (Error e) {
this.tidyup();
//if (this.cfg.debug) {
//
// }
- this.ctx = new MainLoop ();
+ this.ctx = MainLoop ();
this.ctx.run(); // wait fore exit?
//print("main_loop done!");
errstr += this.output.length > 0 ? "\n" : "";
errstr += this.stderr;
//print("Throwing execute error:%s\n", errstr);
- throw new SpawnError.EXECUTE_ERROR(errstr);
+ throw SpawnError.EXECUTE_ERROR(errstr);
//this.toString = function() { return this.stderr; };
///throw new Exception this; // we throw self...
}