2f95dcc076
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.
10 lines
289 B
Go
10 lines
289 B
Go
package shell
|
|
|
|
// Implementation: github.com/lucasdataproyects/devfactory/shell
|
|
|
|
// Which busca la ruta de un ejecutable en el PATH del sistema. Devuelve None si no existe.
|
|
func Which(name string) Option[string] {
|
|
// stub — implementation in devfactory/shell
|
|
return Option[string]{}
|
|
}
|