#!/bin/env python from os import system from sys import argv cmd = 'mk5control startmark5a' for a in argv[1:]: cmd = cmd + ' %s' % a system(cmd)