4 ms·
subprocess.check_call and subprocess.check_output are far less error-prone than the first class natural syntax of sh, where you have to remember to quote everyt
by AndyKelley 10y ago
subprocess.check_call and subprocess.check_output are far less error-prone than the first class natural syntax of sh, where you have to remember to quote everything or have hidden bugs, likely even security vulnerabilities. And god forbid your coworker has to try to understand your sh code.
Clear syntax is better than pretty syntax.