projects
/
gitlive
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
25c6e9a
)
Spawn.vala
author
Alan Knowles
<alan@roojs.com>
Tue, 26 Sep 2017 09:22:10 +0000
(17:22 +0800)
committer
Alan Knowles
<alan@roojs.com>
Tue, 26 Sep 2017 09:22:10 +0000
(17:22 +0800)
Spawn.vala
patch
|
blob
|
history
diff --git
a/Spawn.vala
b/Spawn.vala
index
59e1a64
..
771a5df
100644
(file)
--- a/
Spawn.vala
+++ b/
Spawn.vala
@@
-324,7
+324,7
@@
public class Spawn : Object
//but... let's close input now..
this.in_ch.shutdown(true);
this.in_ch = null;
//but... let's close input now..
this.in_ch.shutdown(true);
this.in_ch = null;
-
+
} catch (Error e) {
this.tidyup();
} catch (Error e) {
this.tidyup();
@@
-348,7
+348,7
@@
public class Spawn : Object
//if (this.cfg.debug) {
//
// }
//if (this.cfg.debug) {
//
// }
- this.ctx =
new
MainLoop ();
+ this.ctx =
MainLoop ();
this.ctx.run(); // wait fore exit?
//print("main_loop done!");
this.ctx.run(); // wait fore exit?
//print("main_loop done!");
@@
-363,7
+363,7
@@
public class Spawn : Object
errstr += this.output.length > 0 ? "\n" : "";
errstr += this.stderr;
//print("Throwing execute error:%s\n", errstr);
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...
}
//this.toString = function() { return this.stderr; };
///throw new Exception this; // we throw self...
}