Back to build
Raw log | Switch to full mode | Login

import subprocess, sys proc = subprocess.Popen( sys.argv[1], stdout=subprocess.PIPE, stderr=subprocess.PIPE) out, err = proc.communicate() with open(sys.argv[2], 'w') as f: f.writelines(out)