My Python script will run a bunch of shell scripts that output either 200 SOLUTIONS_REVISION
or 400 SOLUTIONS_REVISION
when run. The 200
in the output indicates success and the 400
indicates failure.
How can I capture these "returned" strings as str
s in the Python code, for further processing?