docs: def submit(self, job):
          """
          Submits a given job
  
          :param job: The job to submit
          :type job: pyqueue.job.JobInterface
          """
          from subprocess import Popen, PIPE
          script = self._printer.generate(job)
          process = Popen('sbatch', stdout=PIPE, stdin=PIPE, stderr=PIPE)
          stdout, sterr = process.communicate(input=script)
          process.stdin.close()