chore: comments
This commit is contained in:
@@ -315,6 +315,9 @@ std::vector<std::string> completion_candidates(std::span<std::string> tokens,
|
|||||||
dup2(fd[1], STDOUT_FILENO);
|
dup2(fd[1], STDOUT_FILENO);
|
||||||
close(fd[0]);
|
close(fd[0]);
|
||||||
close(fd[1]);
|
close(fd[1]);
|
||||||
|
// not using the fork_and_exec here as that does not support setting envs
|
||||||
|
// and easier to do this one off like this -- but maybe better to extend
|
||||||
|
// helper... a bit divided here
|
||||||
sutils::exec(args[0], args);
|
sutils::exec(args[0], args);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user