|
a/src/internfile/mh_execm.cpp |
|
b/src/internfile/mh_execm.cpp |
|
... |
|
... |
50 |
// Command name
|
50 |
// Command name
|
51 |
string cmd = params.front();
|
51 |
string cmd = params.front();
|
52 |
|
52 |
|
53 |
// Build parameter list: delete cmd name
|
53 |
// Build parameter list: delete cmd name
|
54 |
list<string>::iterator it = params.begin();
|
54 |
list<string>::iterator it = params.begin();
|
55 |
list<string>myparams(++it, params.end());
|
55 |
vector<string>myparams(++it, params.end());
|
56 |
|
56 |
|
57 |
// Start filter
|
57 |
// Start filter
|
58 |
m_cmd.putenv(m_forPreview ? "RECOLL_FILTER_FORPREVIEW=yes" :
|
58 |
m_cmd.putenv(m_forPreview ? "RECOLL_FILTER_FORPREVIEW=yes" :
|
59 |
"RECOLL_FILTER_FORPREVIEW=no");
|
59 |
"RECOLL_FILTER_FORPREVIEW=no");
|
60 |
if (m_cmd.startExec(cmd, myparams, 1, 1) < 0) {
|
60 |
if (m_cmd.startExec(cmd, myparams, 1, 1) < 0) {
|