Skip to content
Snippets Groups Projects
Commit add28d04 authored by Johannes Pfeifer's avatar Johannes Pfeifer
Browse files

x13: allow for Windows paths with spaces

parent b7ca9c3e
Branches
No related tags found
1 merge request!49x13: allow for Windows paths with spaces
......@@ -31,7 +31,11 @@ if ~exist(x13b, 'file')
end
% Run spc file.
[errorflag, msg] = system(sprintf('%s %s', x13b, basename));
if ispc
[errorflag, msg] = system(sprintf('"%s" %s', x13b, basename));
else
[errorflag, msg] = system(sprintf('%s %s', x13b, basename));
end
if errorflag
skipline()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment