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

oldstable
Ken Thomases 2011-11-30 16:49:45 -06:00 committed by Alexandre Julliard
parent 92298f59fe
commit 31141a3bea
1 changed files with 2 additions and 2 deletions

View File

@ -3321,11 +3321,11 @@ static void RefreshFileTypeAssociations(void)
argv[0] = "update-mime-database";
argv[1] = mime_dir;
argv[2] = NULL;
spawnvp( _P_NOWAIT, argv[0], argv );
spawnvp( _P_DETACH, argv[0], argv );
argv[0] = "update-desktop-database";
argv[1] = applications_dir;
spawnvp( _P_NOWAIT, argv[0], argv );
spawnvp( _P_DETACH, argv[0], argv );
}
end: