allow all users to access the pipe

This commit is contained in:
Simon Smith 2021-06-30 14:39:52 +01:00 committed by GitHub
parent 50c0ec6735
commit f0c64a8282
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;
}