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

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;
}