projects
/
reactos.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2e3327d
)
Pass the ImagePath buffer as the command line, not the application name. After the...
author
Andrew Munger
<waxdragon@gmail.com>
Tue, 2 Sep 2008 21:33:51 +0000
(21:33 +0000)
committer
Andrew Munger
<waxdragon@gmail.com>
Tue, 2 Sep 2008 21:33:51 +0000
(21:33 +0000)
This change allows you to start services with parameters listed in the ImagePath, like Abyss and MySQL.
svn path=/trunk/; revision=35893
reactos/base/system/services/database.c
patch
|
blob
|
history
diff --git
a/reactos/base/system/services/database.c
b/reactos/base/system/services/database.c
index
ecc9186
..
3fd38d9
100644
(file)
--- a/
reactos/base/system/services/database.c
+++ b/
reactos/base/system/services/database.c
@@
-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,