code: def command(self):
          
          srun_optlist = build_slurm_arguments(self.parent.command.srun or {})
          if not isinstance(self.root.network.nodes(self.tag), ConstraintTag):
              pargs = parse_constraint_in_args(srun_optlist)
              self.command_expansion_vars['process_count'] = pargs.ntasks
              if not pargs.constraint:
                  # Expand nodelist if --constraint option is not specified
                  # in srun options
                  srun_optlist += [
                      '--nodelist=' + ','.join(self.srun_nodes),
                      '--nodes=' + str(len(self.srun_nodes)),
                  ]
          command = super(SrunExecutionDriver, self).command
          return [self.srun] + srun_optlist + command
docs: get command to execute
  
          :return: list of string