Skip to content

Commit

Permalink
try local pipe
Browse files Browse the repository at this point in the history
  • Loading branch information
partouf authored Nov 18, 2023
1 parent 2a2e470 commit 9b22850
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/subprocess-win32.cc
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ Subprocess::~Subprocess() {
HANDLE Subprocess::SetupPipe(HANDLE ioport) {
char pipe_name[100];
snprintf(pipe_name, sizeof(pipe_name),
"\\\\.\\pipe\\ninja_pid%lu_sp%p", GetCurrentProcessId(), this);
"\\\\.\\pipe\\LOCAL\\ninja_pid%lu_sp%p", GetCurrentProcessId(), this);

pipe_ = ::CreateNamedPipeA(pipe_name,
PIPE_ACCESS_INBOUND | FILE_FLAG_OVERLAPPED,
Expand Down

0 comments on commit 9b22850

Please sign in to comment.