Permalink
Browse files

Must detach from Console when we're done

  • Loading branch information...
1 parent 7f8c620 commit aa8e1cdcbf06ff5cbf41f7cd6fe1d9d4dfd9c53f @obones obones committed Jan 23, 2014
Showing with 4 additions and 1 deletion.
  1. +4 −1 thirdparty/makedist/MakeDist.dpr
@@ -119,7 +119,10 @@ end;
begin
if (ParamPos('x') > 0) or (ParamPos('h') > 0) or (ParamPos('?') > 0) then
- ExecuteCommandLine
+ begin
+ ExecuteCommandLine;
+ FreeConsole;
+ end
else
begin
Application.Initialize;

0 comments on commit aa8e1cd

Please sign in to comment.