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

571 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
which function go shell 1.0.0 pure func Which(name string) core.Option[string] Busca la ruta de un ejecutable en el PATH del sistema. Devuelve None si no existe.
shell
path
lookup
option_go_core
option_go_core
false
false
functions/shell/which.go

Ejemplo

path := Which("docker")

Notas

Implementacion en devfactory/shell.