projects
/
gitlive
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9cc64e8
)
Spawn.vala
author
Alan Knowles
<alan@akbkhome.com>
Sat, 4 Jan 2014 19:58:31 +0000
(
03:58
+0800)
committer
Alan Knowles
<alan@akbkhome.com>
Sat, 4 Jan 2014 19:58:31 +0000
(
03:58
+0800)
Spawn.vala
patch
|
blob
|
history
diff --git
a/Spawn.vala
b/Spawn.vala
index
d9fb178
..
6b21be5
100644
(file)
--- a/
Spawn.vala
+++ b/
Spawn.vala
@@
-267,7
+267,7
@@
public class Spawn : Object
if (this.pid > -1) {
// child can exit before 1we get this far..
if (this.cfg.input != null) {
- print("Trying to call listeners");
+
if (this.cfg.debug)
print("Trying to call listeners");
try {
this.write(this.cfg.input());
// this probably needs to be a bit smarter...
@@
-292,7
+292,7
@@
public class Spawn : Object
// start mainloop if not async..
if (this.pid > -1) {
- if (this.debug) {
+ if (this.
cfg.
debug) {
print("starting main loop");
}