Skip to content
This repository has been archived by the owner on Aug 15, 2024. It is now read-only.

Commit

Permalink
Added a sleep in the monitoring of the pipeline. Hopefully this shoul…
Browse files Browse the repository at this point in the history
…d fix issue #32 .
  • Loading branch information
pbellec committed Aug 22, 2015
1 parent 03adb00 commit 58f34a7
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions psom_run_pipeline.m
Original file line number Diff line number Diff line change
Expand Up @@ -468,6 +468,11 @@
nb_chars = 0;
while (nb_chars==0)||psom_exist(file_pipe_running)
nb_chars = psom_pipeline_visu(opt.path_logs,'monitor',nb_chars);
if exist('OCTAVE_VERSION','builtin')
[res,msg] = system('sleep 0.2');
else
sleep(0.2);
end
end
end

Expand Down

0 comments on commit 58f34a7

Please sign in to comment.