Use /tmp folder for unix sockets

Former-commit-id: 26f5b0f4f4
This commit is contained in:
Malte Rosenbjerg 2020-10-25 17:50:28 +01:00
parent 2966ea2fd8
commit 2b78be6d27

View file

@ -13,7 +13,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:/run/CoreFxPipe_{pipeName}"; return $"unix:/tmp/CoreFxPipe_{pipeName}";
} }
} }
} }