Open chowey opened 10 years ago
That's certainly something that seems like it should be supported. It wouldn't be hard to add another method that lets you set security attributes when the pipe gets created. I'll give it some thought. I don't think a global variable is the best idea.
I agree with that.
@natefinch/@chowey : Can you provide an example for this?
I want to create a named pipe with non-default SecurityAttributes. But this is impossible with the current code. The pipe is created with this function:
I need to specify some SecurityAttributes in that last argument in the
createNamedPipe
call.Is there a way to make that something other than
nil
? Perhaps export it to a global var, like so:Not saying that's the best solution, but it wouldn't break anything.