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.
This commit is contained in:
2026-03-28 03:58:25 +01:00
parent 133982cfaf
commit 2f95dcc076
14 changed files with 274 additions and 0 deletions
+9
View File
@@ -0,0 +1,9 @@
package shell
// Implementation: github.com/lucasdataproyects/devfactory/shell
// RunShell ejecuta un comando shell interpretado por /bin/sh.
func RunShell(command string) Result[CmdResult] {
// stub — implementation in devfactory/shell
return Result[CmdResult]{}
}