You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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?
The text was updated successfully, but these errors were encountered:
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?
The text was updated successfully, but these errors were encountered: