class_docstr: Local job executor
  This class is used to hold the parameters to run a job locally.
  In practice, it will create a bash file in the specified directory for each job,
  and pickle the task function and parameters. At completion, the job will also pickle
  the output. Logs are also dumped in the same directory.
  
  The submission file spawn several processes (one per task), with a timeout.
  
  
  Parameters
  ----------
  folder: Path/str
      folder for storing job submission/output and logs.
  
  Note
  ----
  - be aware that the log/output folder will be full of logs and pickled objects very fast,
    it may need cleaning.
  - use update_parameters to specify custom parameters (n_gpus etc...).
class_docstr_tok: ["Local","job","executor","This","class","is","used","to","hold","the","parameters","to","run","a","job","locally",".","In","practice",",","it","will","create","a","bash","file","in","the","specified","directory","for","each","job",",","and","pickle","the","task","function","and","parameters",".","At","completion",",","the","job","will","also","pickle","the","output",".","Logs","are","also","dumped","in","the","same","directory",".","The","submission","file","spawn","several","processes","(","one","per","task",")",",","with","a","timeout",".","Parameters","--","--","--","--","--","folder",":","Path\/str","folder","for","storing","job","submission\/output","and","logs",".","Note","--","--","-","be","aware","that","the","log\/output","folder","will","be","full","of","logs","and","pickled","objects","very","fast",",","it","may","need","cleaning",".","-","use","update_parameters","to","specify","custom","parameters","(","n_gpus","etc","...",")","."]
code: def _make_submission_command(
      self, submission_file_path: Path
  ) -> tp.List[str]:
      # Not used, but need an implementation
      return []
  
imports: import os
  import shlex
  import signal
  import subprocess
  import sys
  import time
  import typing
  from pathlib import Path
  from ..core import core, job_environment, logger, utils
  from ..core.core import R
label_desc: Use image node_id 9 for calling the LocalExecutor obj's underlying member method code with example usage: obj._make_submission_command(submission_file_path) and returns: list