Commit a90618f7 authored by Houtan Bastani's avatar Houtan Bastani
Browse files

reporting: write pdf compilation to stdout in Octave

parent e8f95462
......@@ -50,7 +50,12 @@ if isempty(compiler)
compiler = strtrim(compiler);
o.compiler = compiler;
end
[status output] = system([compiler ' ./' o.filename], '-echo');
if exist('OCTAVE_VERSION')
status = system([compiler ' ./' o.filename], 0);
else
status = system([compiler ' ./' o.filename], '-echo');
end
[junk, rfn, junk] = fileparts(o.filename);
if status ~= 0
......
Supports Markdown
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