YggdrasilWM  0.1.1
A tiny window manager coded in C++
Spawn.hpp
Go to the documentation of this file.
1 
27 #ifndef YGGDRASILWM_SPAWN_HPP
28 #define YGGDRASILWM_SPAWN_HPP
29 #include "Commands/CommandBase.hpp"
34 class Spawn : public CommandBase {
35 public:
36  Spawn();
37  ~Spawn() override = default;
47  void execute(const std::string &args) override;
48 };
49 #endif //YGGDRASILWM_SPAWN_HPP
CommandBase class header.
Definition: CommandBase.hpp:35
Implement the mecanism to spawn a program.
Definition: Spawn.hpp:34
~Spawn() override=default
void execute(const std::string &args) override
Spawn a program using the command arguments Double fork to avoid zombie processes Parse the command a...
Definition: Spawn.cpp:37