-
Notifications
You must be signed in to change notification settings - Fork 18k
proposal: os/exec: inherit process startup info for new commands on windows. #28166
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
What do you mean |
Yes, meaning if I start a Go process in C with special STARTUPINFO then when I call exec in the Go process it should get that special STARTUPINFO. |
The place for this kind of thing is |
How would I set this field? |
@Brett-Kavanaugh, given that you can control the flags in syscall.SysProcAttr, is that enough? If not, what specifically should we be looking at adding to syscall.SysProcAttr? Thanks. |
Closing per lack of response. If you have more to add, please comment. Per discussion with @golang/proposal-review |
My proposal is for new processes spawned with the exec library to inherit the parents startup info. This is a windows specific proposal.
Currently, if I were to try and spawn a process in a specific desktop it would not work due to the startup info property not being inherited from the parent.
Thanks!
The text was updated successfully, but these errors were encountered: