Creating Kubernetes distributions
Creating Kubernetes distributions
Posted Dec 7, 2019 18:48 UTC (Sat) by epa (subscriber, #39769)In reply to: Creating Kubernetes distributions by marcH
Parent article: Creating Kubernetes distributions
Python's subprocess module has come a long way but still requires boilerplate and relatively complex error handling codeCan you give an example of how to do error checking and handling correctly in a shell script? It seems to require at least as much boilerplate as Python or Perl if you want to write | pipelines or do control flow while at the same time checking the exit status of each subprocess and perhaps checking whether anything was written on standard error too.
