mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-23 13:31:49 +00:00
Fogotten case for replacing $$python.
Patch from Jose. https://www.mail-archive.com/lyx-devel@lists.lyx.org/msg219385.html
This commit is contained in:
parent
ecd5751ece
commit
b4ed627ecc
@ -305,7 +305,8 @@ void showTarget(string const & target, string const & pdfv, string const & psv)
|
||||
if (!opts.empty())
|
||||
opts += " ";
|
||||
Systemcall one;
|
||||
string const command = lyxrc.citation_search_view + " " + opts + tar;
|
||||
string const viewer = subst(lyxrc.citation_search_view, "$${python}", os::python());
|
||||
string const command = viewer + " " + opts + tar;
|
||||
int const result = one.startscript(Systemcall::Wait, command);
|
||||
if (result == 1)
|
||||
// Script failed
|
||||
|
Loading…
Reference in New Issue
Block a user