diff options
Diffstat (limited to 'src/shell_manager.cc')
| -rw-r--r-- | src/shell_manager.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/shell_manager.cc b/src/shell_manager.cc index a7dae6cb..ce926ecb 100644 --- a/src/shell_manager.cc +++ b/src/shell_manager.cc @@ -1,7 +1,7 @@ #include "shell_manager.hh" #include "context.hh" -#include "debug.hh" +#include "buffer_utils.hh" #include "event_manager.hh" #include "file.hh" @@ -63,7 +63,7 @@ std::pair<String, int> ShellManager::eval( } if (not child_stderr.empty()) - write_debug("shell stderr: <<<\n" + child_stderr + ">>>"); + write_to_debug_buffer(format("shell stderr: <<<\n{}>>>", child_stderr)); int status = 0; waitpid(pid, &status, 0); |
