services: Start services detached from console.
Signed-off-by: Eric Pouech <eric.pouech@gmail.com> Signed-off-by: Jacek Caban <jacek@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
043a0ddf08
commit
7b65ef3afb
|
@ -1094,7 +1094,7 @@ found:
|
|||
process->use_count++;
|
||||
service_unlock(service_entry);
|
||||
|
||||
r = CreateProcessW(NULL, path, NULL, NULL, FALSE, CREATE_UNICODE_ENVIRONMENT, environment, NULL, &si, &pi);
|
||||
r = CreateProcessW(NULL, path, NULL, NULL, FALSE, CREATE_UNICODE_ENVIRONMENT | DETACHED_PROCESS, environment, NULL, &si, &pi);
|
||||
HeapFree(GetProcessHeap(), 0, path);
|
||||
if (!r)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue