mirror of
https://github.com/NixOS/nix.git
synced 2024-11-21 22:32:26 +00:00
Format runProgram declaration
This commit is contained in:
parent
a58ca342ca
commit
b11cf8166f
@ -78,8 +78,8 @@ int Pid::wait()
|
||||
}
|
||||
|
||||
// TODO: Merge this with Unix's runProgram since it's identical logic.
|
||||
std::string runProgram(Path program, bool lookupPath, const Strings & args,
|
||||
const std::optional<std::string> & input, bool isInteractive)
|
||||
std::string runProgram(
|
||||
Path program, bool lookupPath, const Strings & args, const std::optional<std::string> & input, bool isInteractive)
|
||||
{
|
||||
auto res = runProgram(RunOptions{
|
||||
.program = program, .lookupPath = lookupPath, .args = args, .input = input, .isInteractive = isInteractive});
|
||||
|
Loading…
Reference in New Issue
Block a user