[Bug 48917] New: Starting a shell script via "cmd /c start /b /wait /d" does not work anymore

WineHQ Bugzilla wine-bugs at winehq.org
Sat Apr 11 16:48:56 CDT 2020


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 at winehq.org
          Reporter: adrian.kalla at 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...

-- 
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.



More information about the wine-bugs mailing list