class_docstr: We use subprocess to simulate job launch locally. Python's subprocess.Popen
  has already provided us all the necessary APIs to control subprocess, we
  just need to call them here.
class_docstr_tok: ["We","use","subprocess","to","simulate","job","launch","locally",".","Python","'s","subprocess.Popen","has","already","provided","us","all","the","necessary","APIs","to","control","subprocess",",","we","just","need","to","call","them","here","."]
code: def create_job(self, job_spec):
      proc = subprocess.Popen(job_spec.command)
      job = core.Job(proc, proc.pid)
      job.host = "localhost"
  
      return job
  
file_path: fiber/fiber/local_backend.py
imports: import subprocess
  import fiber.core
  from fiber.core import ProcessStatus
label_desc: Use image node_id 2 for calling the Backend obj's underlying member method code with example usage: obj.create_job(job_spec) and returns: job