@cached_property<EOL><INDENT>def command(self):<DEDENT>
srun_optlist = build_slurm_arguments(self.parent.command.srun or {})<EOL>if not isinstance(self.root.network.nodes(self.tag), ConstraintTag):<EOL><INDENT>pargs = parse_constraint_in_args(srun_optlist)<EOL>self.command_expansion_vars['<STR_LIT>'] = pargs.ntasks<EOL>if not pargs.constraint:<EOL><INDENT>srun_optlist += [<EOL>'<STR_LIT>' + '<STR_LIT:U+002C>'.join(self.srun_nodes),<EOL>'<STR_LIT>' + str(len(self.srun_nodes)),<EOL>]<EOL><DEDENT><DEDENT>command = super(SrunExecutionDriver, self).command<EOL>return [self.srun] + srun_optlist + command<EOL>
get command to execute

        :return: list of string