In the client code, when calling subprocess.run(...) we need to set stdout=subprocess.PIPE and stderr=subprocess.PIPE so that output is captured in the returned CompletedProcess instance.
In the client code, when calling subprocess.run(...) we need to set stdout=subprocess.PIPE and stderr=subprocess.PIPE so that output is captured in the returned CompletedProcess instance.