correct usage of cnm_runcmd