diff --git a/tek4010 b/tek4010 index d906abc..034e31b 100755 Binary files a/tek4010 and b/tek4010 differ diff --git a/tube.c b/tube.c index dc9fdce..c9286a1 100755 --- a/tube.c +++ b/tube.c @@ -499,7 +499,7 @@ int tube_on_timer_event() // is child process still running? int status; - if (argWait) { + if (argWait && (tube_isInput() == 0) && (waitpid(-1, &status, WNOHANG))) { if (firstWait == 0) firstWait = tube_mSeconds(); else {