-
Notifications
You must be signed in to change notification settings - Fork 167
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Added fallback path #2766
Added fallback path #2766
Conversation
Since the configuration property has One potential use case I have is wanting to always create the pipe files in a specified temporary folder to avoid compatibility issues (specifically, if a Parallels Desktop VM sees the pipe file it will seize up and require a |
@peppy I agree the name is misleading, but actually if set it is used all the time. |
Thanks for confirmation and for the implementation. Should help us heaps. |
Hi, I'm not sure that this is working on Linux ( We're choosing the path as follows (I've tested both as directory and as file): string tempPathLocation = Path.Combine(Path.GetTempPath(), @"lazer");
if (!Directory.Exists(tempPathLocation))
Directory.CreateDirectory(tempPathLocation); As a side note, what is the expectation of the path value? A directory as I have above, or a file? |
@smoogipoo I am really sorry, I gave you the wrong information because I misunderstood a piece of code. As you've noticed that path is being used only if it's not possible to create the pipe next to the realm file. As an additional note, the fallback path should just be a directory, no need to point to a file, and should have a trailing slash |
Added new config parameter for the fallback path where named pipes used by realm should be created.
Fixes #2751
TODO