mirror of
https://github.com/fastfetch-cli/fastfetch.git
synced 2026-09-13 02:42:09 +02:00
close stderr of child process
This commit is contained in:
@@ -20,6 +20,7 @@ void ffProcessAppendStdOut(FFstrbuf* buffer, char* const argv[])
|
||||
dup2(pipes[1], STDOUT_FILENO);
|
||||
close(pipes[0]);
|
||||
close(pipes[1]);
|
||||
close(STDERR_FILENO);
|
||||
execvp(argv[0], argv);
|
||||
exit(901);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user