Documentation
¶
Overview ¶
Package process constructs external commands using Radius process policies.
In Windows windowless mode, commands default to explicit EOF on stdin. Go's exec.Cmd already connects nil stdin to the null device; this policy makes that default explicit, not a guarantee that arbitrary tools or SDK-owned credential helpers cannot prompt. Callers may still assign finite input to Cmd.Stdin.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Command ¶
Command returns the Cmd to execute the named program with the given arguments. In windowless mode it defaults stdin to EOF; callers may replace Cmd.Stdin.
func CommandContext ¶
CommandContext returns the Cmd to execute the named program with the given arguments. The provided context controls the command lifetime. In windowless mode it defaults stdin to EOF; callers may replace Cmd.Stdin.
func IsWindowless ¶ added in v0.61.0
func IsWindowless() bool
IsWindowless reports whether Radius is running on Windows without an attached console. Tool adapters can use it to select their own non-interactive behavior. It checks console attachment when called, not during package initialization, and returns false on non-Windows platforms. It does not detect redirected streams or a general cross-platform automation mode.
Types ¶
This section is empty.