2f95dcc076
Tipo cmd_result (product: Stdout, Stderr, ExitCode). Funciones: Run, RunWithTimeout, RunShell, RunShellTimeout, RunPipe (impuras) y Which (pura). Stubs que documentan devfactory/shell para el registry.
12 lines
341 B
Go
12 lines
341 B
Go
package shell
|
|
|
|
import "time"
|
|
|
|
// Implementation: github.com/lucasdataproyects/devfactory/shell
|
|
|
|
// RunWithTimeout ejecuta un comando del sistema con timeout configurable.
|
|
func RunWithTimeout(name string, timeout time.Duration, args ...string) Result[CmdResult] {
|
|
// stub — implementation in devfactory/shell
|
|
return Result[CmdResult]{}
|
|
}
|