explorer: Use _P_DETACH instead of _P_NOWAIT with spawnvp() to avoid zombies.
This commit is contained in:
parent
fda27ccc1b
commit
92298f59fe
|
@ -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 );
|
||||
|
|
Loading…
Reference in New Issue