* execute.c (do_execute): Flush stdout after printing the command to be

executed.
This commit is contained in:
Leonard den Ottolander 2005-09-17 12:08:19 +00:00
parent 13d8512c37
commit a621fb9b67
2 changed files with 6 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2005-09-17 Pavel Tsekov <ptsekov@gmx.net>
* execute.c (do_execute): Flush stdout after printing the
command to be executed.
2005-09-17 Leonard den Ottolander <leonard den ottolander nl>
* util.c: Indentation cleanup (function result types on

View File

@ -109,6 +109,7 @@ do_execute (const char *shell, const char *command, int flags)
if (!use_subshell && command && !(flags & EXECUTE_INTERNAL)) {
printf ("%s%s\n", prompt, command);
fflush (stdout);
}
#ifdef HAVE_SUBSHELL_SUPPORT
if (use_subshell && !(flags & EXECUTE_INTERNAL)) {