Skip to content
Artwork for Ethical Hacker & Cyber Defence
Ethical Hacker & Cyber Defence · July 2 · 15 min

Workshop: script that executes 'ping' and saves output

**Theoretical Recap** The `subprocess` module is Python's standard way to launch system commands from a script. It replaces the older `os.system()` approach and gives you fine-grained control over the process: you can capture stdout and stderr, pass ...

0:00-15:00

transcript

No transcript — this publisher did not publish one.

show notes

**Theoretical Recap** The `subprocess` module is Python's standard way to launch system commands from a script. It replaces the older `os.system()` approach and gives you fine-grained control over the process: you can capture stdout and stderr, pass ...