code: def _ctl_cmd(cmd, name, conf_file, bin_env):
      '''
      Return the command list to use
      '''
      ret = [_get_supervisorctl_bin(bin_env)]
      if conf_file is not None:
          ret += ['-c', conf_file]
      ret.append(cmd)
      if name:
          ret.append(name)
      return ref _ctl_cmd(cmd, name, conf_file, bin_env):
      '''
      Return the command list to use
      '''
      ret = [_get_supervisorctl_bin(bin_env)]
      if conf_file is not None:
          ret += ['-c', conf_file]
      ret.append(cmd)
      if name:
          ret.append(name)
      return ret
docs: Return the command list to use