cwesnoth: Document environment assignments
This commit is contained in:
parent
7c8f1e5616
commit
13107f3437
1 changed files with 9 additions and 3 deletions
12
cwesnoth.cmd
12
cwesnoth.cmd
|
@ -6,9 +6,15 @@ rem Usage:
|
|||
rem cwesnoth <command line>
|
||||
rem
|
||||
|
||||
rem Disable stdout.txt/stderr.txt redirection in SDLmain.
|
||||
set SDL_STDIO_REDIRECT=0
|
||||
set OMP_WAIT_POLICY=PASSIVE
|
||||
@wesnoth --wconsole %*
|
||||
|
||||
rem Drop this from environment for future runs on the same session.
|
||||
rem OpenMP builds need to set this variable on startup and relaunch Wesnoth in
|
||||
rem order to prevent constant busy waits. Do it here so the restart doesn't
|
||||
rem cause this script to return to the shell too early.
|
||||
set OMP_WAIT_POLICY=PASSIVE
|
||||
|
||||
wesnoth --wconsole %*
|
||||
|
||||
rem Drop our custom environment for future runs on the same session.
|
||||
set SDL_STDIO_REDIRECT=
|
||||
|
|
Loading…
Add table
Reference in a new issue