1
0
mirror of https://github.com/falk-werner/webfuse synced 2026-10-17 17:04:17 +00:00

sepated unit and integration tests

This commit is contained in:
Falk Werner
2023-01-01 13:01:35 +01:00
parent dcb590bd50
commit 0e0bb74872
19 changed files with 34 additions and 19 deletions

View File

@@ -0,0 +1,29 @@
#ifndef WEBFUSE_PROCESS_HPP
#define WEBFUSE_PROCESS_HPP
#include <unistd.h>
#include <string>
#include <vector>
namespace webfuse
{
class process
{
process(process const &) = delete;
process operator=(process const &) = delete;
process(process &&) = delete;
process operator=(process &&) = delete;
public:
process(std::vector<std::string> const & commandline);
~process();
void kill(int signal_number);
int wait();
private:
pid_t pid;
};
}
#endif