HumanRender/human_render/Utils/ProcessWin.h

22 lines
406 B
C
Raw Permalink Normal View History

2024-12-19 17:46:41 +00:00
#pragma once
#include "Utils/Process.h"
#include <Windows.h>
class ProcessWin : public Process {
public:
ProcessWin();
ProcessWin(const std::string& path, const std::string& args = "", const std::string& workDir = "");
~ProcessWin() override;
protected:
bool OnExecute();
void OnTerminate();
private:
PROCESS_INFORMATION info_{0};
DISALLOW_COPY_AND_ASSIGN(ProcessWin);
};