I am trying to open an html file from c#. I am on Mac I tried
Process.Start(path);
but it gave me "permission denied" I have copy and pasted the exact path into both google and finder and they both gave me the correct file. I am running this from an administrator account. I have tried moving the path to different places, like Desktop, and it gives the same error.
Then I tried:
new ProcessStartInfo(
path,
"--no-first-run")
{ UseShellExecute = false });
I get the same error. What is wrong? Just for kicks, I tried changing the path to be wrong, and it says "wrong path", so I know that the path is right.
Thank you for any help or extra info you can provide.