Update PipeHelpers.cs

This commit is contained in:
Malte Rosenbjerg 2020-05-09 18:00:51 +02:00
parent ccdf7d943e
commit 3e58020c2e

View file

@ -12,7 +12,7 @@ public static string GetPipePath(string pipeName)
if (RuntimeInformation.IsOSPlatform(OSPlatform.Windows)) if (RuntimeInformation.IsOSPlatform(OSPlatform.Windows))
return $@"\\.\pipe\{pipeName}"; return $@"\\.\pipe\{pipeName}";
else else
return $"unix:/tmp/CoreFxPipe_{pipeName}"; // dotnet uses unix sockets on unix, for more see https://github.com/dotnet/runtime/issues/24390 return $"unix://tmp/CoreFxPipe_{pipeName}"; // dotnet uses unix sockets on unix, for more see https://github.com/dotnet/runtime/issues/24390
} }
} }
} }