diff options
Diffstat (limited to '')
| -rw-r--r-- | src/shell.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/shell.c b/src/shell.c index 654d1c8..ef89a15 100644 --- a/src/shell.c +++ b/src/shell.c | |||
| @@ -90,6 +90,7 @@ exec_args(int c, char **v) | |||
| 90 | free_alg(scramble); | 90 | free_alg(scramble); |
| 91 | args->scramble = NULL; | 91 | args->scramble = NULL; |
| 92 | } | 92 | } |
| 93 | fflush(stdout); | ||
| 93 | } | 94 | } |
| 94 | } else { | 95 | } else { |
| 95 | cmd->exec(args); | 96 | cmd->exec(args); |
| @@ -132,6 +133,8 @@ launch(bool batchmode) | |||
| 132 | 133 | ||
| 133 | if (shell_argc > 0) | 134 | if (shell_argc > 0) |
| 134 | exec_args(shell_argc, shell_argv); | 135 | exec_args(shell_argc, shell_argv); |
| 136 | |||
| 137 | fflush(stdout); | ||
| 135 | } | 138 | } |
| 136 | 139 | ||
| 137 | for (i = 0; i < MAXNTOKENS; i++) | 140 | for (i = 0; i < MAXNTOKENS; i++) |
