aboutsummaryrefslogtreecommitdiffstats
path: root/util/system/shellcommand.h
diff options
context:
space:
mode:
authorstakanviski <stakanviski@yandex-team.ru>2022-02-10 16:50:01 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:50:01 +0300
commit95ab23a39b5482a434361566cabdd5b0a433cb43 (patch)
tree5d5cb817648f650d76cf1076100726fd9b8448e8 /util/system/shellcommand.h
parentda8356a5535e6177965cba3bbae73c5fb28f6ccc (diff)
downloadydb-95ab23a39b5482a434361566cabdd5b0a433cb43.tar.gz
Restoring authorship annotation for <stakanviski@yandex-team.ru>. Commit 2 of 2.
Diffstat (limited to 'util/system/shellcommand.h')
-rw-r--r--util/system/shellcommand.h36
1 files changed, 18 insertions, 18 deletions
diff --git a/util/system/shellcommand.h b/util/system/shellcommand.h
index ff0f2d043c..8730627fe5 100644
--- a/util/system/shellcommand.h
+++ b/util/system/shellcommand.h
@@ -179,17 +179,17 @@ public:
}
/**
- * @brief set if input stream should be closed after all data is read
- * call SetCloseInput(false) for interactive process
- * @param val if input stream should be closed
- * @return self
- */
- inline TShellCommandOptions& SetCloseInput(bool val) {
- ShouldCloseInput = val;
- return *this;
- }
-
- /**
+ * @brief set if input stream should be closed after all data is read
+ * call SetCloseInput(false) for interactive process
+ * @param val if input stream should be closed
+ * @return self
+ */
+ inline TShellCommandOptions& SetCloseInput(bool val) {
+ ShouldCloseInput = val;
+ return *this;
+ }
+
+ /**
* @brief set if command should be interpreted by OS shell (/bin/sh or cmd.exe)
* shell is enabled by default
* call SetUseShell(false) for command to be sent to OS verbatim
@@ -457,13 +457,13 @@ public:
*/
TShellCommand& Wait();
- /**
- * @brief close process' stdin
- *
- * @return self
- */
- TShellCommand& CloseInput();
-
+ /**
+ * @brief close process' stdin
+ *
+ * @return self
+ */
+ TShellCommand& CloseInput();
+
/**
* @brief Get quoted command (for debug/view purposes only!)
**/