I have the following subprocess.
ss = subprocess.Popen(["python3", "-m", "unittest", totest],
stdin=None,
stdout=subprocess.PIPE,
stderr=subprocess.PIPE)
I want to know if it has started or it had thrown errors.