Spawn.vala
authorAlan Knowles <alan@akbkhome.com>
Sat, 4 Jan 2014 19:56:47 +0000 (03:56 +0800)
committerAlan Knowles <alan@akbkhome.com>
Sat, 4 Jan 2014 19:56:47 +0000 (03:56 +0800)
Spawn.vala

index ec47855..4f1002c 100644 (file)
@@ -263,7 +263,7 @@ public class Spawn : Object
         // call input.. 
         if (this.pid > -1) {
             // child can exit before 1we get this far..
-            if (this.listeners.input) {
+            if (this.cfg.input != null) {
                                print("Trying to call listeners");
                 try {
                     this.write(this.listeners.input.call(this));