''

def __command_line(self, job_wrapper):

    command_line = job_wrapper.runner_command_line
    slots = (job_wrapper.job_destination.params.get('local_slots', None) or os.environ.get('GALAXY_SLOTS', None))
    if slots:
        slots_statement = ('GALAXY_SLOTS="%d";    export    GALAXY_SLOTS;    GALAXY_SLOTS_CONFIGURED="1";    export    GALAXY_SLOTS_CONFIGURED;' % int(slots))
    else:
        slots_statement = 'GALAXY_SLOTS="1";    export    GALAXY_SLOTS;'
    job_id = job_wrapper.get_id_tag()
    job_file = JobState.default_job_file(job_wrapper.working_directory, job_id)
    exit_code_path = JobState.default_exit_code_file(job_wrapper.working_directory, job_id)
    job_script_props = {'slots_statement': slots_statement, 'command': command_line, 'exit_code_path': exit_code_path, 'working_directory': job_wrapper.working_directory}
    job_file_contents = self.get_job_file(job_wrapper, **job_script_props)
    self.write_executable_script(job_file, job_file_contents)
    return (job_file, exit_code_path)
