Trouble with this is you rapidly get into the problem of implementing your own shell command-line parsing (split on space, unless it's in a string, or escaped, ...) Having said that, it may be necessary.