https://bugs.winehq.org/show_bug.cgi?id=48917
Bug ID: 48917 Summary: Starting a shell script via "cmd /c start /b /wait /d" does not work anymore Product: Wine Version: 5.6 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: cmd Assignee: wine-bugs@winehq.org Reporter: adrian.kalla@gmail.com Distribution: ---
Until Wine 5.5 (staging) the following worked, but with 5.6 (staging) it does not anymore:
wine cmd /c start /b /wait /d "C:\users\user\AppData\alobby" "C:\alobby\run_unix_openvpn" "C:\users\user\AppData\alobby" user.ovpn
What the "run_unix_openvpn" (chmod +x) Shell-Script does is following:
pkexec /usr/bin/env openvpn --writepid "`wine winepath -u "$1"`/vpn.pid" --log "`wine winepath -u "$1"`/vpn.log" --verb 3 --daemon "alobby_openvpn" --config "`wine winepath -u "$1"`/$2"
The error I get with 5.6 is pretty strange: /vpn.log: No such file or directory (errno=2)ecting stdout/stderr to --log file: /home/user/.wine/dosdevices/c:/users/user/AppData/alobby
This is used by the Windows application "aLobby" ( https://lobby.siedler3.net/ ) (that is basically a multiplayer lobby for the Windows game "The Settlers 3") to establish an OpenVPN connection via the native Linux openvpn, as there seems to be no way of successfully running the Windows-OpenVPN via Wine...
https://bugs.winehq.org/show_bug.cgi?id=48917
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |focht@gmx.net Resolution|--- |DUPLICATE Summary|Starting a shell script via |Starting a shell script via |"cmd /c start /b /wait /d" |"cmd /c start /b /wait /d" |does not work anymore |does not work anymore (Wine | |5.6 ships broken | |'winepath') Component|cmd |programs Status|UNCONFIRMED |RESOLVED
--- Comment #1 from Anastasius Focht focht@gmx.net --- Hello folks,
dupe of bug 48937
Anything that invokes 'winepath' is broken in Wine 5.6
Regards
*** This bug has been marked as a duplicate of bug 48937 ***
https://bugs.winehq.org/show_bug.cgi?id=48917
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #2 from Austin English austinenglish@gmail.com --- Closing.