aboutsummaryrefslogtreecommitdiffstats
path: root/util/system/shellcommand.h
diff options
context:
space:
mode:
authoryazevnul <yazevnul@yandex-team.ru>2022-02-10 16:46:48 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:46:48 +0300
commit9abfb1a53b7f7b791444d1378e645d8fad9b06ed (patch)
tree49e222ea1c5804306084bb3ae065bb702625360f /util/system/shellcommand.h
parent8cbc307de0221f84c80c42dcbe07d40727537e2c (diff)
downloadydb-9abfb1a53b7f7b791444d1378e645d8fad9b06ed.tar.gz
Restoring authorship annotation for <yazevnul@yandex-team.ru>. 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 6141b8ae0e..8730627fe5 100644
--- a/util/system/shellcommand.h
+++ b/util/system/shellcommand.h
@@ -129,7 +129,7 @@ public:
*
* @return self
*/
- inline TShellCommandOptions& SetInputStream(IInputStream* stream) {
+ inline TShellCommandOptions& SetInputStream(IInputStream* stream) {
InputStream = stream;
if (InputStream == nullptr) {
InputMode = HANDLE_INHERIT;
@@ -148,7 +148,7 @@ public:
*
* @return self
*/
- inline TShellCommandOptions& SetOutputStream(IOutputStream* stream) {
+ inline TShellCommandOptions& SetOutputStream(IOutputStream* stream) {
OutputStream = stream;
return *this;
}
@@ -162,7 +162,7 @@ public:
*
* @return self
*/
- inline TShellCommandOptions& SetErrorStream(IOutputStream* stream) {
+ inline TShellCommandOptions& SetErrorStream(IOutputStream* stream) {
ErrorStream = stream;
return *this;
}
@@ -313,10 +313,10 @@ public:
// bool SearchPath // search exe name in $PATH
// bool UnicodeConsole
// bool EmulateConsole // provide isatty == true
- /// @todo command's stdin should be exposet as IOutputStream to support dialogue
- IInputStream* InputStream;
- IOutputStream* OutputStream;
- IOutputStream* ErrorStream;
+ /// @todo command's stdin should be exposet as IOutputStream to support dialogue
+ IInputStream* InputStream;
+ IOutputStream* OutputStream;
+ IOutputStream* ErrorStream;
TUserOptions User;
THashMap<TString, TString> Environment;
int Nice = 0;
@@ -364,7 +364,7 @@ public:
*
* @return self
*/
- TShellCommand& operator<<(const TStringBuf argument);
+ TShellCommand& operator<<(const TStringBuf argument);
/**
* @brief return the collected output from the command.