cmdhost: add support for launching applications other than cmd