diff options
author | aosipenko <[email protected]> | 2022-02-10 16:48:08 +0300 |
---|---|---|
committer | Daniil Cherednik <[email protected]> | 2022-02-10 16:48:08 +0300 |
commit | 948fd24d47d4b3b7815aaef1686aea00ef3f4288 (patch) | |
tree | 8ad4c39c2a5f8b341bc02e3b0c5e8f26c40373cb /util/system/shellcommand.cpp | |
parent | d2eb4aae699fa2f6901bf32d22eec019c8f29838 (diff) |
Restoring authorship annotation for <[email protected]>. Commit 1 of 2.
Diffstat (limited to 'util/system/shellcommand.cpp')
-rw-r--r-- | util/system/shellcommand.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/util/system/shellcommand.cpp b/util/system/shellcommand.cpp index b1989b5c8c3..f939953bf27 100644 --- a/util/system/shellcommand.cpp +++ b/util/system/shellcommand.cpp @@ -43,7 +43,7 @@ using TPid = HANDLE; using TWaitResult = DWORD; using TExitStatus = DWORD; #define WAIT_PROCEED WAIT_TIMEOUT - + #pragma warning(disable : 4296) // 'wait_result >= WAIT_OBJECT_0' : expression is always tru #else #error("unknown os, shell command is not implemented") @@ -618,7 +618,7 @@ void TShellCommand::TImpl::StartProcess(TShellCommand::TImpl::TPipes& pipes) { if (!res) { AtomicSet(ExecutionStatus, SHELL_ERROR); /// @todo: write to error stream if set - TStringOutput out(CollectedError); + TStringOutput out(CollectedError); out << "Process was not created: " << LastSystemErrorText() << " command text was: '" << GetAString(cmdcopy.Data()) << "'"; } Pid = process_info.hProcess; @@ -925,7 +925,7 @@ void TShellCommand::TImpl::Communicate(TProcessInfo* pi) { char* bufPos = nullptr; #endif TWaitResult waitPidResult; - TExitStatus status = 0; + TExitStatus status = 0; while (true) { { |