summaryrefslogtreecommitdiffstats
path: root/util/system/shellcommand.h
diff options
context:
space:
mode:
authortmnt <[email protected]>2022-02-10 16:51:46 +0300
committerDaniil Cherednik <[email protected]>2022-02-10 16:51:46 +0300
commitcf6e6821eefccdbf1103566edb4a651fe0388df7 (patch)
treeab7fbbf3253d4c0e2793218f09378908beb025fb /util/system/shellcommand.h
parent094c9da192205d74ec2a7d67fa5cc084b52684b2 (diff)
Restoring authorship annotation for <[email protected]>. Commit 2 of 2.
Diffstat (limited to 'util/system/shellcommand.h')
-rw-r--r--util/system/shellcommand.h16
1 files changed, 8 insertions, 8 deletions
diff --git a/util/system/shellcommand.h b/util/system/shellcommand.h
index c6e6ac66c83..8730627fe5b 100644
--- a/util/system/shellcommand.h
+++ b/util/system/shellcommand.h
@@ -3,7 +3,7 @@
#include <util/generic/noncopyable.h>
#include <util/generic/string.h>
#include <util/generic/list.h>
-#include <util/generic/hash.h>
+#include <util/generic/hash.h>
#include <util/generic/strbuf.h>
#include <util/generic/maybe.h>
#include <util/stream/input.h>
@@ -16,11 +16,11 @@
class TShellCommandOptions {
public:
- struct TUserOptions {
+ struct TUserOptions {
TString Name;
-#if defined(_win_)
+#if defined(_win_)
TString Password;
-#endif
+#endif
#if defined(_unix_)
/**
* Run child process with the user supplementary groups.
@@ -29,15 +29,15 @@ public:
*/
bool UseUserGroups = false;
#endif
- };
-
+ };
+
enum EHandleMode {
HANDLE_INHERIT,
HANDLE_PIPE,
HANDLE_STREAM
};
-public:
+public:
inline TShellCommandOptions() noexcept
: ClearSignalMask(false)
, CloseAllFdsOnExec(false)
@@ -317,7 +317,7 @@ public:
IInputStream* InputStream;
IOutputStream* OutputStream;
IOutputStream* ErrorStream;
- TUserOptions User;
+ TUserOptions User;
THashMap<TString, TString> Environment;
int Nice = 0;