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

32 lines
644 B
Markdown

---
name: run_pipe
kind: function
lang: go
domain: shell
version: "1.0.0"
purity: impure
signature: "func RunPipe(commands ...string) core.Result[CmdResult]"
description: "Encadena multiples comandos con pipe y devuelve el resultado final."
tags: [shell, command, process, pipe]
uses_functions: []
uses_types: [cmd_result_go_shell, result_go_core]
returns: [result_go_core]
returns_optional: false
error_type: "error_go_core"
imports: []
tested: false
tests: []
test_file_path: ""
file_path: "functions/shell/run_pipe.go"
---
## Ejemplo
```go
result := RunPipe("ls -la", "grep go", "wc -l")
```
## Notas
Implementacion en devfactory/shell.