projects
/
gitlive
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
174e5ed
)
Spawn.vala
author
Alan Knowles
<alan@roojs.com>
Fri, 2 May 2014 10:35:10 +0000
(18:35 +0800)
committer
Alan Knowles
<alan@roojs.com>
Fri, 2 May 2014 10:35:10 +0000
(18:35 +0800)
Spawn.vala
patch
|
blob
|
history
diff --git
a/Spawn.vala
b/Spawn.vala
index
32ce4be
..
9a97c03
100644
(file)
--- a/
Spawn.vala
+++ b/
Spawn.vala
@@
-401,8
+401,13
@@
public class Spawn : Object
//print(JSON.stringify(ch, null,4));
while (true) {
-
- var status = ch.read_line( buffer, term_pos );
+ try {
+ var status = ch.read_line( buffer, term_pos );
+ catch (Error e) {
+ //FIXme
+ break; // ??
+
+ }
// print('status: ' +JSON.stringify(status));
// print(JSON.stringify(x));
switch(status) {