diff options
| -rw-r--r-- | src/shell_manager.hh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/shell_manager.hh b/src/shell_manager.hh index 3dc62e0a..5b42d644 100644 --- a/src/shell_manager.hh +++ b/src/shell_manager.hh @@ -63,12 +63,12 @@ public: const ShellContext& shell_context = {}); std::pair<String, int> eval(StringView cmdline, const Context& context, - StringView stdin, + StringView in, Flags flags = Flags::WaitForStdout, const ShellContext& shell_context = {}) { return eval(cmdline, context, - [stdin]() mutable { return std::exchange(stdin, StringView{}); }, + [in]() mutable { return std::exchange(in, StringView{}); }, flags, shell_context); } |
