\r
close_output_handles(&si);\r
\r
+ if (! service->no_console) FreeConsole();\r
+\r
/* Restore our environment. */\r
duplicate_environment(service->initial_env);\r
\r
if (service->pid) kill_process_tree(service, service->pid, exitcode, service->pid);\r
service->pid = 0;\r
\r
- if (! service->no_console) FreeConsole();\r
-\r
/*\r
The why argument is true if our wait timed out or false otherwise.\r
Our wait is infinite so why will never be true when called by the system.\r