# error: exec: "command": executable file not found in %PATH%

- **ID:** `go/os-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.20 | active | — | — |
| 1.21 | active | — | — |

## Workarounds

1. **Use exec.LookPath to find command before execution** (95% success)
   ```
   path, err := exec.LookPath("command")
if err != nil { return fmt.Errorf("command not found: %w", err) }
cmd := exec.Command(path, args...)
   ```

## Dead Ends

- **Hardcoding full path to executable** — Path may differ across systems; use exec.LookPath to verify. (60% fail)
