-
Notifications
You must be signed in to change notification settings - Fork 86
Feature request: Ability to change user and group #44
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
Comments
When I've needed this I've always used |
I'm currently using a script to change the group and user, which then calls the target executable. I avoided using sudo because I need to explicitly control argv inputs and was concerned about the shell having to parse the arguments. For the API, maybe we could add two fields to |
Seems fine. My only question would be whether it should use a String or Please note in the haddocks which OSs it's expected to work on. On Fri, Oct 9, 2015, 9:50 PM JP [email protected] wrote:
|
I just made a pull request with this implemented. I ended up going with |
Implemented by PR #45, thank you! |
I'd like to change the user and group of the forked process (I'm using Linux, but I think this would still make sense for Windows). I looked into implementing this myself, but it seems like there's extensive FFI use (ie
runInteractiveProcess
), and it could require some potentially breaking API changes.Do you think this is feasible?
The text was updated successfully, but these errors were encountered: