From 00999694f9ce98ad7ef54b66c9e82186edcf55a6 Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Sun, 18 Oct 2020 23:59:02 +0300 Subject: Process: add runas() --- include/winapi/process.hpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'include') diff --git a/include/winapi/process.hpp b/include/winapi/process.hpp index d52ad0a..05411cd 100644 --- a/include/winapi/process.hpp +++ b/include/winapi/process.hpp @@ -24,6 +24,8 @@ public: static Process create(const CommandLine&); static Process create(const CommandLine&, process::IO); + static Process runas(const CommandLine&); + void wait() const; int get_exit_code() const; -- cgit v1.2.3