#include <iostream>
#include <sstream>
#include "oct-process.h"
#include "procstream.h"
#include "sysdep.h"
#include "oct-syscalls.h"
Go to the source code of this file.
Functions | |
process_execution_result | run_command_and_return_output (const std::string &cmd_str) |
process_execution_result run_command_and_return_output | ( | const std::string & | cmd_str | ) |
Definition at line 51 of file oct-process.cc.
References procstreambase::close(), process_execution_result::of_error(), process_execution_result::of_success(), wexitstatus(), and wifexited().