mirror of
https://github.com/reactos/reactos.git
synced 2025-02-23 17:05:46 +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:
parent
2e3327d922
commit
cae5d127c8
1 changed files with 2 additions and 2 deletions
|
@ -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,
|
||||
|
|
Loading…
Reference in a new issue