Subject: [PATCH] Fork the program when starting From: Jeremy White Date: 1140109682 -0600 --- loki_setup/install.c | 5 ++++- 1 files changed, 4 insertions(+), 1 deletions(-) cfd1b318fb27cb84be0169b93c113e5099403a34 diff --git a/loki_setup/install.c b/loki_setup/install.c index b922112..69b8b86 100644 --- a/loki_setup/install.c +++ b/loki_setup/install.c @@ -2331,7 +2331,10 @@ install_state launch_game(install_info * if ( *info->play_binary ) { snprintf(cmd, PATH_MAX, "%s %s", info->play_binary, info->args); - system(cmd); + if (fork() == 0) + { + exit(system(cmd)); + } } return SETUP_EXIT; } -- 1.1.5