Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Impl ¶
type Impl struct{}
Impl times the execution of another command.
The inner command runs inside a subshell of ec.Runner, so it goes back through the shell's exec-handler chain (registered builtins, functions, path lookup) instead of being dispatched directly. ec.Runner must be set for the command-execution path; without it, `time CMD ...` cannot dispatch to the inner command. The no-command path (silent success) still works without a runner.
Click to show internal directories.
Click to hide internal directories.