def submit_string(string, **kwargs)
      Tempfile.open('qsub.') do |f|
        f.write string.to_s
        f.close
        submit_script(f.path, **kwargs)
      end
    end
def submit_string(string, **kwargs)
      Tempfile.open('qsub.') do |f|
        f.write string.to_s
        f.close
        submit_script(f.path, **kwargs)
      end
    end
Submit a script expanded into a string to the batch server
 @param string [#to_s] script as a string
 @param (see #submit_script)
 @return [String] the id of the job that was created
 @deprecated Use {#submit} instead.