https://bugs.winehq.org/show_bug.cgi?id=55124
Bug ID: 55124 Summary: Can't run Flutter SDK (cmd.exe doesn't support redirecting stderr for a block) Product: Wine Version: 8.10 Hardware: x86-64 OS: Linux Status: NEW Severity: normal Priority: P2 Component: cmd Assignee: wine-bugs@winehq.org Reporter: alexhenrie24@gmail.com Distribution: ---
`wine flutter.bat` goes into an infinite loop that prints this message over and over:
Can't recognize '2 (' as an internal or external command, or batch script.
It's coming from these lines in internal/shared.bat:
2>NUL ( REM "3" is now stderr because of "2>NUL". CALL :subroutine %* 2>&3 9> "%cache_dir%\flutter.bat.lock" || GOTO acquire_lock )
Wine's cmd.exe does support redirecting stdout for a block of code, for example:
NUL (
COPY flutter.bat flutter2.bat )
But it does not support redirecting stderr in the same way.
https://bugs.winehq.org/show_bug.cgi?id=55124
Alex Henrie alexhenrie24@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- URL| |https://storage.googleapis. | |com/flutter_infra_release/r | |eleases/stable/windows/flut | |ter_windows_3.10.5-stable.z | |ip Keywords| |download, source
https://bugs.winehq.org/show_bug.cgi?id=55124
Alex Henrie alexhenrie24@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED Fixed by SHA1| |eba7092f0aba75b71175f0426ad | |05a4d880250a3
--- Comment #1 from Alex Henrie alexhenrie24@gmail.com --- Fixed by https://gitlab.winehq.org/wine/wine/-/commit/eba7092f0aba75b71175f0426ad05a4...
But now that that's fixed, shared.bat runs into Bug 32679.
https://bugs.winehq.org/show_bug.cgi?id=55124
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #2 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 8.12.
https://bugs.winehq.org/show_bug.cgi?id=55124
Michael Stefaniuc mstefani@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|--- |8.0.x