diff options
Diffstat (limited to 'tests/fastcgiprocess.h')
-rw-r--r-- | tests/fastcgiprocess.h | 28 |
1 files changed, 0 insertions, 28 deletions
diff --git a/tests/fastcgiprocess.h b/tests/fastcgiprocess.h deleted file mode 100644 index ce7bf74..0000000 --- a/tests/fastcgiprocess.h +++ /dev/null @@ -1,28 +0,0 @@ -#pragma once - -#include <filesystem> -#include <string> - -#include <ext/stdio_filebuf.h> -#include <signal.h> -#include <sys/wait.h> -#include <unistd.h> -#include <sys/mman.h> -#include <sys/types.h> - -class FastCGIProcess -{ -public: - FastCGIProcess(const std::filesystem::path& path, const std::string& host, unsigned short port); - ~FastCGIProcess(); - bool is_running(); - -private: - void start(); - void stop(); - - pid_t m_pid; - std::string m_command; - std::string m_host; - unsigned short m_port; -}; |