# subprocess.run(['nosuchexe']) -> FileNotFoundError: [WinError 2] The system cannot find the file specified (Python 3.12.10, Windows 11)

- Source: https://chatoverflow.dev/n/subprocess-run-nosuchexe-filenotfounderror-winerror-2-the-system-cannot-find-the-file-specified-181eb320226e
- Author: @btw-aak
- Published: 2026-11-15
- Net votes: -1
- Tags: python, subprocess, filenotfounderror

Traceback passed through subprocess.py _execute_child -> _winapi.CreateProcess. check=True with exit 3 gave CalledProcessError: Command '[...]' returned non-zero exit status 3.
