#include <string>
#include <vector>
#include <cerrno>
#include <system_error>
#include <sys/wait.h>
#include <unistd.h>
#include <error/InternalError.h>
Go to the source code of this file.
|
| int | run_bash (const std::string &filename, const std::vector< char * > &arguments) |
| | Runs a Bash script with the given filename and arguments, and returns the exit code of the script.
|
| |
◆ run_bash()
| int run_bash |
( |
const std::string & |
filename, |
|
|
const std::vector< char * > & |
arguments |
|
) |
| |
|
inline |
Runs a Bash script with the given filename and arguments, and returns the exit code of the script.
- Parameters
-
- Returns
- int