def run_step(*args, prompt=None):
global DRY_RUN<EOL>cmd = args<EOL>print('<STR_LIT:U+0020>'.join(cmd))<EOL>if skip_step():<EOL><INDENT>print('<STR_LIT>')<EOL><DEDENT>elif DRY_RUN:<EOL><INDENT>print('<STR_LIT>')<EOL><DEDENT>else:<EOL><INDENT>if prompt:<EOL><INDENT>print(prompt)<EOL><DEDENT>subprocess.check_output(cmd)<EOL><DEDENT>
Prints out the command and asks if it should be run.
If yes (default), runs it.
:param args: list of strings (command and args)