https://bugs.winehq.org/show_bug.cgi?id=44975
Bug ID: 44975 Summary: Multiple applications need 'find.exe' command line tool (ConEmu) Product: Wine Version: 3.6 Hardware: x86-64 OS: Linux Status: NEW Severity: normal Priority: P2 Component: programs Assignee: wine-bugs@winehq.org Reporter: focht@gmx.net Distribution: ---
Hello folks,
as it says, encountered with 'ConEmu' build 180409.
Separated from bug 31519 which is now about providing 'fc.exe' (file compare) tool.
--- snip --- $ pwd /home/focht/.wine/drive_c/Program Files/ConEmu
$ WINEDEBUG=+seh,+relay wine ./ConEmu.exe >>log.txt 2>&1 ... 006e:Call KERNEL32.CreateProcessW(00329a88 L"C:\windows\system32\cmd.EXE",0014e080 L"cmd /d /c ver ",00000000,00000000,00000001,00000000,00000000,00000000,00329a44,00329f48) ret=7e13009e ... 006e:Ret KERNEL32.CreateProcessW() retval=00000001 ret=7e13009e ... 0062:Call gdi32.ExtTextOutW(003d003f,00000000,00000010,00000000,00000000,00150b60 L"Can't recognize '"C:\windows\system32\find.exe" "Windows"' as an internal or external command, or batch script.\00d4\ffff\00ff\d0c8\00d4\d0c8\00d4\ffff\00ff\d0c8\00d4\ffff\00ff\d0c8\00d4\ffff\00ff\d0c8\00d4\ffff\00ffy",0000006f,00145960) ret=7ec8ea0d --- snip ---
The relevant part of batch file:
--- snip --- ... rem Simple "ver" prints empty line before Windows version rem Use this construction to print just a version info cmd /d /c ver | "%windir%\system32\find.exe" "Windows" ... --- snip ---
Command line usage: https://ss64.com/nt/find.html
$ sha1sum ConEmuSetup.180409.exe 5b8b0e78789027841f5312e132101408b292996c ConEmuSetup.180409.exe
$ du -sh ConEmuSetup.180409.exe 6.3M ConEmuSetup.180409.exe
$ wine --version wine-3.6
Regards
https://bugs.winehq.org/show_bug.cgi?id=44975
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download URL| |https://github.com/Maximus5 | |/ConEmu/releases
https://bugs.winehq.org/show_bug.cgi?id=44975
tokktokk fdsfgs@krutt.org changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |fdsfgs@krutt.org
https://bugs.winehq.org/show_bug.cgi?id=44975
--- Comment #1 from Anastasius Focht focht@gmx.net --- Hello folks,
commit https://source.winehq.org/git/wine.git/commitdiff/914d387214ccbaaddcfeb14b5c... added 'find.exe' stub program.
The minimum requested functionality still missing though: searching for string pattern from stdin (see https://bugs.winehq.org/show_bug.cgi?id=31519#c2 -> https://bugs.winehq.org/attachment.cgi?id=41466)
Regards
https://bugs.winehq.org/show_bug.cgi?id=44975
Fabian Maurer dark.shadow4@web.de changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |dark.shadow4@web.de
--- Comment #2 from Fabian Maurer dark.shadow4@web.de --- Submitted a first implementation for review: https://source.winehq.org/patches/data/147172
However, it can't do much yet, and if needed, I need to rewrite that for unicode support.
https://bugs.winehq.org/show_bug.cgi?id=44975
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|Multiple applications need |Multiple applications need |'find.exe' command line |'find.exe' command line |tool (ConEmu) |tool with functionality to | |search for string pattern | |from stdin (ConEmu)
--- Comment #3 from Anastasius Focht focht@gmx.net --- Hello folks,
refined summary/subject to make the scope of the task clear.
$ wine --version wine-3.13
Regards
https://bugs.winehq.org/show_bug.cgi?id=44975
--- Comment #4 from Fabian Maurer dark.shadow4@web.de --- My original patch was rejected, but I'll rework and resent it.
https://bugs.winehq.org/show_bug.cgi?id=44975
Louis Lenders xerox.xerox2000x@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |xerox.xerox2000x@gmail.com
--- Comment #5 from Louis Lenders xerox.xerox2000x@gmail.com --- (In reply to Fabian Maurer from comment #4)
My original patch was rejected, but I'll rework and resent it.
Hi Fabian, does this specific program work now with what is in wine-4.19? Might be worth to recheck then maybe this can be closed. Regards
https://bugs.winehq.org/show_bug.cgi?id=44975
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |e1bcf2d88a09348ea67596fd12c | |dca14918c8d4b URL|https://github.com/Maximus5 |https://github.com/Maximus5 |/ConEmu/releases |/ConEmu/releases/tag/v18.04 | |.09 Resolution|--- |FIXED Status|NEW |RESOLVED
--- Comment #6 from Anastasius Focht focht@gmx.net --- Hello folks,
this is fixed by commits:
* https://source.winehq.org/git/wine.git/commitdiff/e1bcf2d88a09348ea67596fd12... ("find: First implementation.") * https://source.winehq.org/git/wine.git/commitdiff/93c98111aee7d96a1150657d92... ("find: Prevent hang by properly checking for EOF.")
Thanks Fabian
Test without app:
--- snip --- $ wine cmd.exe /d /c ver | "%windir%\system32\find.exe" "Windows" Microsoft Windows 6.1.7601
$ wine cmd.exe /d /c ver | "%windir%\system32\find.exe" "Winblows" --- snip ---
$ wine --version wine-4.19
Regards
https://bugs.winehq.org/show_bug.cgi?id=44975
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #7 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 4.20.
https://bugs.winehq.org/show_bug.cgi?id=44975
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- URL|https://github.com/Maximus5 |https://web.archive.org/web |/ConEmu/releases/tag/v18.04 |/20210319091234/https://git |.09 |hub.com/Maximus5/ConEmu/rel | |eases/download/v18.04.09/Co | |nEmuSetup.180409.exe