#!/usr/bin/env python
import sys
import shlex

with open('xrun.cmd', 'w') as f:
    f.write(' '.join(shlex.quote(arg) for arg in sys.argv[1:]) + '\n')
