Add --mono-no-redirect to run script, disables writing stdout to file
must be first flag, will not be passed to EmuHawk
This commit is contained in:
parent
50373ac1ad
commit
3d0ccdac45
|
@ -18,4 +18,10 @@ if [ -z "$libpath" ]; then
|
|||
libpath="/usr/lib/wine"
|
||||
fi
|
||||
export LD_LIBRARY_PATH="$libpath"
|
||||
mono ./EmuHawk.exe "$@" >EmuHawkMono_laststdout.txt
|
||||
if [ "$1" = "--mono-no-redirect" ]; then
|
||||
shift
|
||||
printf "(received --mono-no-redirect, stdout was not captured)\n" >EmuHawkMono_laststdout.txt
|
||||
mono ./EmuHawk.exe "$@"
|
||||
else
|
||||
mono ./EmuHawk.exe "$@" >EmuHawkMono_laststdout.txt
|
||||
fi
|
||||
|
|
Loading…
Reference in New Issue