-
Notifications
You must be signed in to change notification settings - Fork 449
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
Change URI process start. #299
base: master
Are you sure you want to change the base?
Conversation
When attempting to run a windows service, "File not found error" was raised. Proposed change fixes this issue.
Can you share some more information about the error you're referring to? For instance, the specific steps to reproduce the error, as well as the full error output you're getting would be helpful reference for this. Thanks in advance! |
Running windows service using .Net 6.0 in Visual Studio. |
Thanks! I'll ask the team to review this. |
@@ -240,7 +240,8 @@ private async Task<string> GetAccessToken() | |||
|
|||
http.Start(); | |||
|
|||
System.Diagnostics.Process.Start(authorizeUri.ToString()); | |||
System.Diagnostics.Process.Start(new ProcessStartInfo(authorizeUri.ToString()) { UseShellExecute = true }); | |||
//System.Diagnostics.Process.Start(authorizeUri.ToString()); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not sure this will work for all use cases. Please instead leave the original code, and add a comment explaining this alternative method and when you'd need to use it.
When attempting to run a windows service, "File not found error" was raised. Proposed change fixes this issue.
Checklist
General Contributing
Is This a Code Change?
Validation