def submit(content, args: [], env: {}, chdir: nil)
      call(:qsub, *args, env: env, stdin: content, chdir: chdir).strip
    end
def submit(content, args: [], env: {}, chdir: nil)
      call(:qsub, *args, env: env, stdin: content, chdir: chdir).strip
    end
Submit a script expanded as a string to the batch server
 @param content [#to_s] script as a string
 @param args [Array<#to_s>] arguments passed to `qsub` command
 @param env [Hash{#to_s => #to_s}] environment variables set
 @param chdir [#to_s, nil] working directory where `qsub` is called from
 @raise [Error] if `qsub` command exited unsuccessfully
 @return [String] the id of the job that was created