mirror of
https://github.com/NixOS/nix
synced 2025-07-01 16:41:47 +02:00
Format runProgram declaration
This commit is contained in:
parent
a58ca342ca
commit
b11cf8166f
1 changed files with 2 additions and 2 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue