Archived
1
0

pass in environment

This commit is contained in:
Jeff Becker
2018-05-06 10:21:58 -04:00
parent 720aeee7ee
commit 3b8fd51e53
5 changed files with 10 additions and 9 deletions

View File

@@ -8,7 +8,7 @@ namespace nntpchan
class ExecFrontend : public Frontend
{
public:
ExecFrontend(const std::string &exe);
ExecFrontend(const std::string &exe, char * const* env);
~ExecFrontend();
@@ -20,6 +20,7 @@ private:
int Exec(std::deque<std::string> args);
private:
char * const* m_Environ;
std::string m_exec;
};
}