local execution of cmd in client