Skip to content
Snippets Groups Projects
Commit 92298f59 authored by Ken Thomases's avatar Ken Thomases Committed by Alexandre Julliard
Browse files

explorer: Use _P_DETACH instead of _P_NOWAIT with spawnvp() to avoid zombies.

parent fda27ccc
Branches
Tags
No related merge requests found
......@@ -42,7 +42,7 @@ static BOOL start_screensaver( void )
if (using_root)
{
const char *argv[3] = { "xdg-screensaver", "activate", NULL };
int pid = spawnvp( _P_NOWAIT, argv[0], argv );
int pid = spawnvp( _P_DETACH, argv[0], argv );
if (pid > 0)
{
WINE_TRACE( "started process %d\n", pid );
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment