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

Commit

Permalink
The warning stream should get properly redirected to the logs.
Browse files Browse the repository at this point in the history
  • Loading branch information
pbellec committed Jun 7, 2015
1 parent c1a9b89 commit 6608bca
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions psom_run_script.m
Original file line number Diff line number Diff line change
Expand Up @@ -240,11 +240,7 @@
if ~isempty(cmd)
instr_job = sprintf('"%s" %s "%s %s,exit"',opt.command_matlab,gb_psom_opt_matlab,opt.init_matlab,cmd);
if ~isempty(logs)
if opt.flag_debug
instr_job = sprintf('%s >"%s" 2>&1\n',instr_job,logs.txt);
else
instr_job = sprintf('%s >"%s"\n',instr_job,logs.txt);
end
instr_job = sprintf('%s >"%s" 2>&1\n',instr_job,logs.txt);
else
instr_job = sprintf('%s\n',instr_job);
end
Expand Down

0 comments on commit 6608bca

Please sign in to comment.