cmd must be in double quotes