Fix forward search

The provided working directory was not properly set when the underlying
process starts.
It is not clear, why only this one call to one.startscript()
needs fixing. OTOH, the other calls do not use 'Systemcall::DontWait'
as the first parameter.
This commit is contained in:
Kornel Benko 2019-07-25 10:01:03 +02:00
parent 4597622ce5
commit bdf8c3b530

View File

@ -4496,7 +4496,7 @@ void GuiView::dispatch(FuncRequest const & cmd, DispatchResult & dr)
command = subst(command, "$$t", texname);
command = subst(command, "$$o", outname);
PathChanger p(path);
volatile PathChanger p(path);
Systemcall one;
one.startscript(Systemcall::DontWait, command);
break;