diff --git a/lib/train/transports/local.rb b/lib/train/transports/local.rb index 9f8c9b4d..fac926b0 100644 --- a/lib/train/transports/local.rb +++ b/lib/train/transports/local.rb @@ -81,7 +81,7 @@ def start_named_pipe_server(pipe_name) script = <<-EOF $ErrorActionPreference = 'Stop' - $pipeServer = New-Object System.IO.Pipes.NamedPipeServerStream('#{pipe_name}', [System.IO.Pipes.PipeDirection]::InOut) + $pipeServer = New-Object System.IO.Pipes.NamedPipeServerStream('#{pipe_name}') $pipeReader = New-Object System.IO.StreamReader($pipeServer) $pipeWriter = New-Object System.IO.StreamWriter($pipeServer)