aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/include/winapi
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--include/winapi/process.hpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/winapi/process.hpp b/include/winapi/process.hpp
index 05411cd..5c9e3c9 100644
--- a/include/winapi/process.hpp
+++ b/include/winapi/process.hpp
@@ -26,8 +26,10 @@ public:
static Process runas(const CommandLine&);
+ bool is_running() const;
void wait() const;
-
+ void terminate(int ec = 0) const;
+ void shut_down(int ec = 0) const;
int get_exit_code() const;
static std::string get_exe_path();