Skip to content
Snippets Groups Projects
Commit 0dc3d857 authored by Benjamin Wingfield's avatar Benjamin Wingfield
Browse files

use full path for sbatch

parent add0cb50
No related branches found
No related tags found
No related merge requests found
......@@ -46,9 +46,9 @@ impl JobRequest {
fn run_sbatch(&self, job_path: JobPath) -> String {
let wd = job_path.path.parent().unwrap().to_str().unwrap();
let job_script_path = job_path.path.to_str().unwrap();
let arguments = vec!["--parsable", "--output", wd, "--error", wd, job_script_path];
let arguments = vec!["--parsable", job_script_path];
let mut sbatch = Command::new("sbatch");
let mut sbatch = Command::new("/usr/bin/sbatch");
let cmd = sbatch.args(&arguments);
info!("Running sbatch process ");
info!("{:?}", &cmd);
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment