mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-02 04:13:34 +00:00
Pass the ImagePath buffer as the command line, not the application name. After the recent changes, the ImaagePath buffer contains a properly formatted command line.
This change allows you to start services with parameters listed in the ImagePath, like Abyss and MySQL. svn path=/trunk/; revision=35893
This commit is contained in:
@@ -896,8 +896,8 @@ ScmStartUserModeService(PSERVICE Service,
|
||||
StartupInfo.cbReserved2 = 0;
|
||||
StartupInfo.lpReserved2 = 0;
|
||||
|
||||
Result = CreateProcessW(ImagePath.Buffer,
|
||||
NULL,
|
||||
Result = CreateProcessW(NULL,
|
||||
ImagePath.Buffer,
|
||||
NULL,
|
||||
NULL,
|
||||
FALSE,
|
||||
|
||||
Reference in New Issue
Block a user