Files
fn_registry/functions/shell/run_cmd_timeout.go
T
egutierrez 2f95dcc076 feat: tipo CmdResult y 6 funciones shell — ejecucion de comandos del sistema
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.
2026-03-28 03:58:25 +01:00

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]{}
}