mirror of
https://github.com/hyprwm/hyprutils.git
synced 2025-12-20 04:40:08 +01:00
os/process: disallow copying / moving
This commit is contained in:
parent
57ab2a867d
commit
c9cd5f153c
1 changed files with 8 additions and 1 deletions
|
|
@ -13,7 +13,14 @@ namespace Hyprutils {
|
|||
CProcess(const std::string& binary_, const std::vector<std::string>& args_);
|
||||
~CProcess();
|
||||
|
||||
void addEnv(const std::string& name, const std::string& value);
|
||||
CProcess(CProcess&) = delete;
|
||||
CProcess(CProcess&&) = delete;
|
||||
CProcess(const CProcess&&) = delete;
|
||||
CProcess(const CProcess&) = delete;
|
||||
CProcess& operator=(const CProcess&) = delete;
|
||||
CProcess& operator=(CProcess&&) = delete;
|
||||
|
||||
void addEnv(const std::string& name, const std::string& value);
|
||||
|
||||
// only for async, sync doesn't make sense
|
||||
void setStdoutFD(int fd);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue