projects
/
gitlive
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
b89e42a
)
Spawn.vala
author
Alan Knowles
<alan@roojs.com>
Mon, 14 Aug 2017 03:11:31 +0000
(11:11 +0800)
committer
Alan Knowles
<alan@roojs.com>
Mon, 14 Aug 2017 03:11:31 +0000
(11:11 +0800)
Spawn.vala
patch
|
blob
|
history
diff --git
a/Spawn.vala
b/Spawn.vala
index
ffc6d59
..
92c2684
100644
(file)
--- a/
Spawn.vala
+++ b/
Spawn.vala
@@
-352,8
+352,11
@@
public class Spawn : Object
if (this.cfg.exceptions && this.result != 0) {
-
- throw new SpawnError.EXECUTE_ERROR(this.stderr);
+
+ var errstr = this.output;
+ errstr += errstr.length > 0 ? "\n" : "";
+ errstr += this.stderr;
+ throw new SpawnError.EXECUTE_ERROR(errstr);
//this.toString = function() { return this.stderr; };
///throw new Exception this; // we throw self...
}
@@
-363,8
+366,6
@@
public class Spawn : Object
return;
}
-
-
private void tidyup()
{