<s> from subprocess import run <EOL> import sys , time , subprocess <EOL> test = sys . argv [ <NUM_LIT:1> ] <EOL> path = '<STR_LIT>' % test <EOL> print ( "<STR_LIT>" % test ) <EOL> start = time . time ( ) <EOL> proc = run ( [ path ] , stdout = subprocess . PIPE , stderr = subprocess . PIPE ) <EOL> end = time . time ( ) <EOL> if proc . returncode == <NUM_LIT:0> : <EOL> print ( "<STR_LIT>" % ( test , end - start ) ) <EOL> else : <EOL> sys . stdout . buffer . write ( proc . stdout ) <EOL> sys . stdout . buffer . write ( proc . stderr ) <EOL> print ( "<STR_LIT>" % ( test , end - start ) ) <EOL> sys . exit ( proc . returncode ) </s>
