[Bug 45097] New: Wrong process name when using CreateProcess from kernel32
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(a)winehq.org Reporter: sr-tream(a)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 ); -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=45097 --- Comment #1 from Nikolay Sivov <bunglehead(a)gmail.com> --- What exactly doesn't work correctly? -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=45097 --- Comment #2 from sr-tream(a)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" -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=45097 tokktokk <fdsfgs(a)krutt.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |fdsfgs(a)krutt.org -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
participants (1)
-
wine-bugs@winehq.org