projects
/
gitlive
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
d3ad5f8
)
Spawn.vala
author
Alan Knowles
<alan@roojs.com>
Mon, 14 Aug 2017 03:16:31 +0000
(11:16 +0800)
committer
Alan Knowles
<alan@roojs.com>
Mon, 14 Aug 2017 03:16:31 +0000
(11:16 +0800)
Spawn.vala
patch
|
blob
|
history
diff --git
a/Spawn.vala
b/Spawn.vala
index
4ae8eeb
..
a17a80d
100644
(file)
--- a/
Spawn.vala
+++ b/
Spawn.vala
@@
-445,12
+445,12
@@
public class Spawn : Object
try {
var cond = ch.get_buffer_condition();
try {
var cond = ch.get_buffer_condition();
- if ((cond & GLib.IOCondition.ERR) > 0) {
-
return false;
- }
- if ((cond & GLib.IOCondition.IN) < 1) {
-
return false;
- }
+
//
if ((cond & GLib.IOCondition.ERR) > 0) {
+
//
return false;
+
//
}
+
//
if ((cond & GLib.IOCondition.IN) < 1) {
+
//
return false;
+
//
}
status = ch.read_line( out buffer, out len, out term_pos );
} catch (Error e) {
//FIXme
status = ch.read_line( out buffer, out len, out term_pos );
} catch (Error e) {
//FIXme
@@
-458,7
+458,6
@@
public class Spawn : Object
}
}
-
print("got buffer of %s\n", buffer);
// print('status: ' +JSON.stringify(status));
// print(JSON.stringify(x));
print("got buffer of %s\n", buffer);
// print('status: ' +JSON.stringify(status));
// print(JSON.stringify(x));