Skip to content
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

Start process as Admin (Windows) #61

Open
wolfv opened this issue Jun 16, 2021 · 1 comment
Open

Start process as Admin (Windows) #61

wolfv opened this issue Jun 16, 2021 · 1 comment

Comments

@wolfv
Copy link

wolfv commented Jun 16, 2021

It seems that on Windows one can put an attribute to the StartInfo struct startInfo.Verb = "runas";

https://stackoverflow.com/questions/133379/elevating-process-privilege-programmatically

I am wondering if that could be added as a feature?

@DaanDeMeyer
Copy link
Owner

Unfortunately, I don't have access to a windows system anymore so I wouldn't be able to test the implementation. I'll happily review a PR though. You can add an option to reproc_options that allows to configure this behavior.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants