diff --git a/FFMpegCore/FFMpeg/Pipes/PipeHelpers.cs b/FFMpegCore/FFMpeg/Pipes/PipeHelpers.cs index cb237ed..8705335 100644 --- a/FFMpegCore/FFMpeg/Pipes/PipeHelpers.cs +++ b/FFMpegCore/FFMpeg/Pipes/PipeHelpers.cs @@ -12,9 +12,7 @@ public static string GetPipePath(string pipeName) { if (RuntimeInformation.IsOSPlatform(OSPlatform.Windows)) return $@"\\.\pipe\{pipeName}"; - if (RuntimeInformation.IsOSPlatform(OSPlatform.OSX)) - return $"unix:{Path.GetTempPath()}/CoreFxPipe_{pipeName}"; - return $"unix:/tmp/CoreFxPipe_{pipeName}"; + return $"unix:{Path.Combine(Path.GetTempPath(), $"CoreFxPipe_{pipeName}")}"; } } }