Update PipeHelpers.cs

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

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