https://bugs.winehq.org/show_bug.cgi?id=45097
Bug ID: 45097 Summary: Wrong process name when using CreateProcess from kernel32 Product: Wine Version: 3.0 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: minor Priority: P2 Component: kernel32 Assignee: wine-bugs@winehq.org Reporter: sr-tream@yandex.ru Distribution: ---
After using CreateProcess from kernel32 on Linux, lpCommandLine is used as the process name, although lpApplicationName should be used. ================================================================================= BOOL WINAPI CreateProcess( _In_opt_ LPCTSTR lpApplicationName, _Inout_opt_ LPTSTR lpCommandLine, _In_opt_ LPSECURITY_ATTRIBUTES lpProcessAttributes, _In_opt_ LPSECURITY_ATTRIBUTES lpThreadAttributes, _In_ BOOL bInheritHandles, _In_ DWORD dwCreationFlags, _In_opt_ LPVOID lpEnvironment, _In_opt_ LPCTSTR lpCurrentDirectory, _In_ LPSTARTUPINFO lpStartupInfo, _Out_ LPPROCESS_INFORMATION lpProcessInformation );
https://bugs.winehq.org/show_bug.cgi?id=45097
--- Comment #1 from Nikolay Sivov bunglehead@gmail.com --- What exactly doesn't work correctly?
https://bugs.winehq.org/show_bug.cgi?id=45097
--- Comment #2 from sr-tream@yandex.ru --- (In reply to Nikolay Sivov from comment #1)
What exactly doesn't work correctly?
show process name in 'ps axu'. Example. I use CreateProcess("process.exe", "arguments", some_params...); In 'ps axu' new process showed has a name "arguments", but should have a name "process.exe"
https://bugs.winehq.org/show_bug.cgi?id=45097
tokktokk fdsfgs@krutt.org changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |fdsfgs@krutt.org