5#ifndef MYSHELL_MSH_PROCESS_H
6#define MYSHELL_MSH_PROCESS_H
13using status_t =
enum class status {
25 status_t status = status::RUNNING;
29 process(
int flags,
const std::vector<std::string>& args) : flags(flags) {
31 for (
auto const& arg: args) {
34 this->command = ss.str();
Top-level command structure.
Definition msh_command.h:48
Information about an internal process.
Definition msh_process.h:24
std::string get_status() const
Returns the status of the process as a string.
Definition msh_process.h:44