Inside the subprocess call, instead of print use those 2.