https://bugs.winehq.org/show_bug.cgi?id=50723
Louis Lenders xerox.xerox2000x@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |xerox.xerox2000x@gmail.com
--- Comment #3 from Louis Lenders xerox.xerox2000x@gmail.com --- Created attachment 69479 --> https://bugs.winehq.org/attachment.cgi?id=69479 simple test program
Hi, I have a similar problem with another program. I attach simple test executable to reproduce problem that does not work anymore in current git; it works on windows and in wine-(staging)-6.2. It should print user info using whoami, but currently gives:
"Can't recognize 'whoami' as an internal or external command, or batch script."
In wine-6.2 it gives: DEBIAN\louis
This regresssion is caused by:
Commit: 0d3972ce8ab4a5f7db4ba97161cc6c4c3fdd19f2
Author: Alexandre Julliard <julliard at winehq.org> Date: Mon Feb 15 12:30:28 2021 +0100 ntdll: Allocate the initial process parameters on the Unix side.
@Reporter of bug: could you check if your problem is caused by same commit? Regards
simple test exe
#include <windows.h> #include <wchar.h>
int __cdecl wmain(int argc, WCHAR *argv[]) { const WCHAR *new_args[3];
new_args[0] = L"cmd.exe"; new_args[1] = L"/c whoami"; new_args[2] = NULL; _wspawnv(2, L"c:\windows\system32\cmd.exe", new_args); }