https://bugs.winehq.org/show_bug.cgi?id=45974
Bug ID: 45974 Summary: regedit exits prematurely Product: Wine Version: 3.16 Hardware: x86 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: programs Assignee: wine-bugs@winehq.org Reporter: zl29ah@gmail.com Distribution: ---
Run the following shell script:
cat > desktop.reg << EOF REGEDIT4
[HKEY_CURRENT_USER\Software\Wine\Explorer] "Desktop"="Default" EOF regedit desktop.reg winecfg
And observe that winecfg is ran in a window instead of firing up the virtual desktop. Adding `sleep 5` between regedit and winecfg makes it work as expected.