Merge pull request #200 from si458/patch-1

allow all users to access the pipe
This commit is contained in:
Brandon Nozaki Miller 2021-07-01 16:01:21 -07:00 committed by GitHub
commit 3fdbb35e53
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 4 deletions

View File

@ -308,10 +308,11 @@ function startServer() {
this.path= `\\\\.\\pipe\\${this.path}`;
}
this.server.listen(
this.path,
this.onStart.bind(this)
);
this.server.listen({
path: this.path,
readableAll: true,
writableAll: true
}, this.onStart.bind(this));
return;
}