summaryrefslogtreecommitdiffhomepage
path: root/control/controlknobs/controlknobs.go
diff options
context:
space:
mode:
authorAaron Klotz <aaron@tailscale.com>2024-06-05 14:45:23 -0600
committerAaron Klotz <aaron@tailscale.com>2024-06-06 14:18:36 -0600
commit34e8820301f7751e59ea95cb5e196c398ad1204a (patch)
treedbf4a914da82a21e982149c5ebca4aba051c7c6c /control/controlknobs/controlknobs.go
parent8a11a43c28c08199018dbde0e3e5466e8e0cbb3e (diff)
downloadtailscale-34e8820301f7751e59ea95cb5e196c398ad1204a.tar.xz
tailscale-34e8820301f7751e59ea95cb5e196c398ad1204a.zip
util/winutil: add conpty package and helper for building windows.StartupInfoEx
StartupInfoBuilder is a helper for constructing StartupInfoEx structures featuring proc/thread attribute lists. Calling its setters triggers the appropriate setting of fields, adjusting flags as necessary, and populating the proc/thread attribute list as necessary. Currently it supports four features: setting std handles, setting pseudo-consoles, specifying handles for inheritance, and specifying jobs. The conpty package simplifies creation of pseudo-consoles, their associated pipes, and assignment of the pty to StartupInfoEx proc/thread attributes. Updates #12383 Signed-off-by: Aaron Klotz <aaron@tailscale.com>
Diffstat (limited to 'control/controlknobs/controlknobs.go')
0 files changed, 0 insertions, 0 deletions