You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
tailscale/tool
Aaron Klotz 4bb03609bc tool/gocross: ensure child process error codes are propagated on non-Unix
The Unix implementation of doExec propagates error codes by virtue of
the fact that it does an execve; the replacement binary will return the
exit code.

On non-Unix, we need to simulate these semantics by checking for an
ExitError and, when present, passing that value on to os.Exit.

We also add error handling to the doExec call for the benefit of
handling any errors where doExec fails before being able to execute
the desired binary.

Updates https://github.com/tailscale/corp/issues/29940

Signed-off-by: Aaron Klotz <aaron@tailscale.com>
3 months ago
..
gocross tool/gocross: ensure child process error codes are propagated on non-Unix 3 months ago
listpkgs .github/workflows: remove redundant work between staticcheck jobs 6 months ago
binaryen.rev go.toolchain.rev: update to Go 1.20rc3 3 years ago
go tool/gocross: a tool for building Tailscale binaries 3 years ago
go-win.ps1 tool: rename go.ps1 to go-win.ps1 for cmd.exe+Powershell compat 5 months ago
go.cmd tool, tool/gocross: update gocross to support building natively on Windows and add a PowerShell Core wrapper script 4 months ago
helm tool: download helm CLI (#9981) 2 years ago
helm.rev tool: download helm CLI (#9981) 2 years ago
node tool: force HTTP/1.1 in curl to prevent hang behind load balancer 2 years ago
node.rev node.rev: bump to latest 22.x LTS release (#15652) 8 months ago
wasm-opt cmd/tsconnect: run wasm-opt on the generated wasm file 3 years ago
yarn release/dist: run yarn build before building CLI 2 years ago
yarn.rev cmd/tsconnect: pin yarn and node 3 years ago