Merge pull request #123 from Ibrahim-Islam/master

Fixes long path issue in unix systems
This commit is contained in:
Malte Rosenbjerg 2020-10-19 22:45:07 +02:00 committed by GitHub
commit bc92e54c99
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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)
{