aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/include/winapi
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2020-10-18 23:59:02 +0300
committerEgor Tensin <Egor.Tensin@gmail.com>2020-10-19 00:00:12 +0300
commit00999694f9ce98ad7ef54b66c9e82186edcf55a6 (patch)
tree8108af41c8091417d05db62b7ae9242c68b9c703 /include/winapi
parentstream.hpp -> process_io.hpp, move IO there (diff)
downloadwinapi-common-00999694f9ce98ad7ef54b66c9e82186edcf55a6.tar.gz
winapi-common-00999694f9ce98ad7ef54b66c9e82186edcf55a6.zip
Process: add runas()
Diffstat (limited to '')
-rw-r--r--include/winapi/process.hpp2
1 files changed, 2 insertions, 0 deletions
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;