[Bug 1370] - executing commands with wcmd fails