is it possible to add the ability for boost::process::child to support the execution of commands by specified users?
- Dominant language
- C++
- Stars
- 145
- Forks
- 151
- PR merge metrics
- No merged PRs in 30d
Description
It is very common to specify a user to start a process to execute related commands. In the boost::process library, it is not supported to create a specified user process to execute tasks. On the linux side, the executor of the child process can be modified through a custom on_exec_setup function, but on the windows side, there is no such hook point as linux to specify the user-created process. In boost::process, the windows side creates the process by calling CreateProcess. When i need to specify a user to create a process, i need to call CreateProcessAsUser to specify the user to create the process and specify the task. Is it possible to add the function to support the specified user to create the process and execute commands?
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.