https://bugs.winehq.org/show_bug.cgi?id=55636
Olivier F. R. Dierick o.dierick@piezo-forte.be changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |o.dierick@piezo-forte.be
--- Comment #3 from Olivier F. R. Dierick o.dierick@piezo-forte.be --- Hello,
Use two steps instead of one:
# Create/update the wineprefix, discarding any output. $ wineboot -u >/dev/null 2>&1 # Run your program. $ WINEDEBUG=-all wine a.exe
Remember that before calling wine like this, configure should check first the availability of wine and the ability to create a wineprefix.
If your configure is intended for public release, you should use a temporary wineprefix for those checks. I don't think users will like their ~/.wine directory being mangled by your configure script.
# Create an unique directory in the current directory and set it as WINEPREFIX. $ export WINEPREFIX=$(mktemp -d -t './XXXXXX.wine') # Populate the new wineprefix with default wine stuff. $ wineboot -u >/dev/null 2>&1 # Run your program. $ WINEDEBUG=-all wine a.exe # Cleanup. $ rm -rf $WINEPREFIX
Regards.