Files
fn_registry/functions/shell/run_cmd.md
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

641 B

name, kind, lang, domain, version, purity, signature, description, tags, uses_functions, uses_types, returns, returns_optional, error_type, imports, tested, tests, test_file_path, file_path
name kind lang domain version purity signature description tags uses_functions uses_types returns returns_optional error_type imports tested tests test_file_path file_path
run_cmd function go shell 1.0.0 impure func Run(name string, args ...string) core.Result[CmdResult] Ejecuta un comando del sistema con timeout de 30 segundos y devuelve el resultado.
shell
command
process
exec
cmd_result_go_shell
result_go_core
result_go_core
false error_go_core
false
functions/shell/run_cmd.go

Ejemplo

result := Run("ls", "-la")

Notas

Implementacion en devfactory/shell.