Subprocess Safety

Safe Python subprocess patterns for RAGAPPv3. Load before adding, modifying, or reviewing any code that calls subprocess.run / subprocess.Popen / asyncio.create_subprocess_exec. Covers list-form args (no shell=True with untrusted input), timeout, cwd, bounded stdout/stderr capture, returncode checks, cleanup, and the async variant. This repo's backend is Python only — ignore any Bun / Node child_process / Windows .cmd guidance.

zaxbyhub Updated 529 repo stars

File contents

zaxbyhub/ragappv3 commit 0290eb8229

Frequently asked questions

npx get-skill add zaxbyhub/subprocess-safety-2