Merge pull request #3960 from ammgws/patch-2
Remove comment referencing old source code
Ingo Bürk authored 4 years ago
GitHub committed 4 years ago
103 | 103 |
* fork to avoid zombie processes. As the started application’s parent exits
|
104 | 104 |
* (immediately), the application is reparented to init (process-id 1), which
|
105 | 105 |
* correctly handles children, so we don’t have to do it :-).
|
106 | |
*
|
107 | |
* The shell is determined by looking for the SHELL environment variable. If it
|
108 | |
* does not exist, /bin/sh is used.
|
109 | |
*
|
110 | 106 |
*/
|
111 | 107 |
static void start_application(const char *command) {
|
112 | 108 |
printf("executing: %s\n", command);
|
527 | 527 |
|
528 | 528 |
/*
|
529 | 529 |
* Start a child process with the specified command and reroute stdin.
|
530 | |
* We actually start a $SHELL to execute the command so we don't have to care
|
|
530 |
* We actually start a shell to execute the command so we don't have to care
|
531 | 531 |
* about arguments and such.
|
532 | 532 |
*
|
533 | 533 |
* If `command' is NULL, such as in the case when no `status_command' is given
|