# exec: "somecmd": executable file not found in $PATH

- **ID:** `go/exec-command-not-found`
- **Domain:** go
- **Category:** system_error
- **Verification:** ai_generated
- **Fix Rate:** 80%

## Root Cause

The specified command is not installed or not in the system's PATH environment variable.

## Version Compatibility

| Version | Status | Introduced | Deprecated |
|---------|--------|------------|------------|
| 1.22 | active | — | — |

## Workarounds

1. **** (95% success)
   ```
   Use exec.LookPath to verify before running: path, err := exec.LookPath("somecmd"); if err != nil { handle }
   ```
2. **** (80% success)
   ```
   Provide full path: cmd := exec.Command("/usr/local/bin/somecmd")
   ```

## Dead Ends

- **** — Program fails at runtime; no fallback. (90% fail)
- **** — Path may not exist; same error. (60% fail)
