mirror of
https://github.com/tailscale/tailscale.git
synced 2026-12-03 05:45:27 +09:00
This package has been unused since 2024. The Windows SSH server is about to use it, which needed a few changes: Pipe-mode children were created with DETACHED_PROCESS and so had no console; every console program they started then allocated its own and lost its output to it. Use CREATE_NO_WINDOW instead, as OpenSSH for Windows does. Add Process.Release (Close without closing the I/O pipes), upgrade UAC-filtered admin tokens to the linked full token, start processes in the user's profile directory, add StartCurrentUserProcess* for a non-LocalSystem caller, make the pseudoconsole relay exit with the child's exit code, and stop mergeEnv from upper-casing variable names. Updates #4697 Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com> Change-Id: I6d2e9a4c1f7b3058e2a1d4c6b9f0e7a3d5c8b1f4