stdout2stderr.py 157 B

123456
  1. import subprocess
  2. import sys
  3. if __name__ == '__main__':
  4. assert len(sys.argv) > 1
  5. sys.exit(subprocess.Popen(sys.argv[1:], stdout=sys.stderr).wait())