Skip to content

Commit f33d3cc

Browse files
committed
Fixed source file implementation for Windows.
1 parent 3413fd9 commit f33d3cc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/myshell.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -79,8 +79,8 @@ void MyShell::createWindowsProcess(const std::string& command) {
7979

8080
HANDLE inputRead, outputWrite, errorWrite;
8181
if(!CreatePipe(&inputRead, &this->inputWriteHandle, &saAttr, 0) ||
82-
!CreatePipe(&this->outputReadHandle, &this->outputWrite, &saAttr, 0) ||
83-
!CreatePipe(&this->errorReadHandle, &this->errorWrite, &saAttr, 0))
82+
!CreatePipe(&this->outputReadHandle, &outputWrite, &saAttr, 0) ||
83+
!CreatePipe(&this->errorReadHandle, &errorWrite, &saAttr, 0))
8484
throw std::system_error(
8585
GetLastError(),
8686
std::system_category(),

0 commit comments

Comments
 (0)