22 lines
406 B
C++
22 lines
406 B
C++
#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);
|
|
};
|
|
|
|
|