You probably don't need to subprocess when you can just do `sys.stdout.write()`