Merge pull request #123 from Ibrahim-Islam/master

Fixes long path issue in unix systems

Former-commit-id: bc92e54c99
This commit is contained in:
Malte Rosenbjerg 2020-10-19 22:45:07 +02:00 committed by GitHub
commit 4624378d0e

View file

@ -8,7 +8,7 @@ static class PipeHelpers
{
static readonly string PipePrefix = Path.Combine(Path.GetTempPath(), "CoreFxPipe_");
public static string GetUnqiuePipeName() => "FFMpegCore_" + Guid.NewGuid();
public static string GetUnqiuePipeName() => $"FFMpegCore_{Guid.NewGuid().ToString("N").Substring(0, 5)}";
public static string GetPipePath(string pipeName)
{