From 5a3ae15b2a18cfc1e62199778718856235f829ce Mon Sep 17 00:00:00 2001 From: mysticbbs Date: Mon, 6 Aug 2012 01:53:52 -0400 Subject: [PATCH] BufFlush before OS shell --- mystic/bbs_common.pas | 2 ++ 1 file changed, 2 insertions(+) diff --git a/mystic/bbs_common.pas b/mystic/bbs_common.pas index cb88ce7..84d19b6 100644 --- a/mystic/bbs_common.pas +++ b/mystic/bbs_common.pas @@ -170,6 +170,8 @@ End; Function ShellDOS (ExecPath: String; Command: String) : LongInt; Begin + Session.io.BufFlush; + {$IFDEF WINDOWS} ExecInheritsHandles := True; {$ENDIF}