fix
This commit is contained in:
parent
3b8fd51e53
commit
e78bd50ef1
@ -37,7 +37,7 @@ int ExecFrontend::Exec(std::deque<std::string> args)
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
int r = execvpe(m_exec.c_str(), (char *const *)cargs, m_Environ);
|
int r = execve(m_exec.c_str(), (char *const *)cargs, m_Environ);
|
||||||
if (r == -1)
|
if (r == -1)
|
||||||
{
|
{
|
||||||
std::cout << strerror(errno) << std::endl;
|
std::cout << strerror(errno) << std::endl;
|
||||||
|
Reference in New Issue
Block a user