Run command in subshell