Skip to content

Commit 53ca2a8

Browse files
authored
Update condor.jl
1 parent 0977088 commit 53ca2a8

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/condor.jl

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,8 @@ function launch(manager::HTCManager, params::Dict, instances_arr::Array, c::Cond
6868

6969
script = condor_script(portnum, np, params)
7070
cmd = `condor_submit $script`
71-
if !success(cmd)
71+
proc = run(ignorestatus(cmd)) # run and wait (blocks)
72+
if !success(proc)
7273
println("batch queue not available (could not run condor_submit)")
7374
return
7475
end

0 commit comments

Comments
 (0)