projects
/
gitlive
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1298e12
)
Spawn.vala
author
Alan Knowles
<alan@roojs.com>
Mon, 29 Aug 2016 08:35:53 +0000
(16:35 +0800)
committer
Alan Knowles
<alan@roojs.com>
Mon, 29 Aug 2016 08:35:53 +0000
(16:35 +0800)
Spawn.vala
patch
|
blob
|
history
diff --git
a/Spawn.vala
b/Spawn.vala
index
08032c1
..
a25c2da
100644
(file)
--- a/
Spawn.vala
+++ b/
Spawn.vala
@@
-426,7
+426,9
@@
public class Spawn : Object
{
string prop = (ch == this.out_ch) ? "output" : "stderr";
// print("prop: " + prop);
-
+ if (this.pid < 0) {
+ return; // spawn complete + closed... can't read any more.
+ }
//print(JSON.stringify(ch, null,4));
while (true) {