mirror of
https://github.com/reactos/reactos.git
synced 2024-09-11 05:12:43 +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
|
@ -896,8 +896,8 @@ ScmStartUserModeService(PSERVICE Service,
|
||||||
StartupInfo.cbReserved2 = 0;
|
StartupInfo.cbReserved2 = 0;
|
||||||
StartupInfo.lpReserved2 = 0;
|
StartupInfo.lpReserved2 = 0;
|
||||||
|
|
||||||
Result = CreateProcessW(ImagePath.Buffer,
|
Result = CreateProcessW(NULL,
|
||||||
NULL,
|
ImagePath.Buffer,
|
||||||
NULL,
|
NULL,
|
||||||
NULL,
|
NULL,
|
||||||
FALSE,
|
FALSE,
|
||||||
|
|
Loading…
Reference in a new issue