https://bugs.winehq.org/show_bug.cgi?id=54886
Bug ID: 54886 Summary: wine does not exit after wineserver -p with redirected stderr / process substitution Product: Wine Version: 8.6 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: wineserver Assignee: wine-bugs@winehq.org Reporter: huangqinjin@gmail.com Distribution: ---
test.bat: @echo off echo hello echo world
Hang up case 1 - redirect stderr
wineserver -k ; wineserver -p ; WINEDEBUG=-all wine64 test.bat 2>&1 | cat -n
Hang up case 2 - process substitution of stdout
wineserver -k ; wineserver -p ; WINEDEBUG=-all wine64 test.bat > >(cat) | cat -n
Both cases print the words but do not exit.
If CTRL-C the run, and run again the wine64 commands, they exit normally.
If run wineboot after wineserver -p, both cases exit normally also.
wineserver -k ; wineserver -p ; WINEDEBUG=-all wine64 wineboot ; WINEDEBUG=-all wine64 test.bat 2>&1 | cat -n
wineserver -k ; wineserver -p ; WINEDEBUG=-all wine64 wineboot ; WINEDEBUG=-all wine64 test.bat > >(cat) | cat -n
https://bugs.winehq.org/show_bug.cgi?id=54886
--- Comment #1 from huangqinjin huangqinjin@gmail.com --- https://bugs.winehq.org/show_bug.cgi?id=15462
looks like a similar issue, but that one need to run two scripts simultaneously.