|
a/src/utils/execmd.h |
|
b/src/utils/execmd.h |
|
... |
|
... |
243 |
m_atexitfuncs.push(function);
|
243 |
m_atexitfuncs.push(function);
|
244 |
return 0;
|
244 |
return 0;
|
245 |
}
|
245 |
}
|
246 |
void reexec();
|
246 |
void reexec();
|
247 |
const string& getreason() {return m_reason;}
|
247 |
const string& getreason() {return m_reason;}
|
|
|
248 |
// Insert new args into the initial argv. idx designates the place
|
|
|
249 |
// before which the new args are inserted (the default of 1
|
|
|
250 |
// inserts after argv[0] which would probably be an appropriate
|
|
|
251 |
// place for additional options)
|
|
|
252 |
void insertArgs(const vector<string>& args, int idx = 1);
|
|
|
253 |
void removeArg(const string& arg);
|
248 |
private:
|
254 |
private:
|
249 |
vector<string> m_argv;
|
255 |
vector<string> m_argv;
|
250 |
string m_curdir;
|
256 |
string m_curdir;
|
251 |
int m_cfd;
|
257 |
int m_cfd;
|
252 |
string m_reason;
|
258 |
string m_reason;
|