From cae5d127c8ac3155895c9df9fdcd84132bed7e8d Mon Sep 17 00:00:00 2001 From: Andrew Munger Date: Tue, 2 Sep 2008 21:33:51 +0000 Subject: [PATCH] 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 --- reactos/base/system/services/database.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/reactos/base/system/services/database.c b/reactos/base/system/services/database.c index ecc9186bedc..3fd38d94ae6 100644 --- 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,