Adam,
> Unfortunately, the program appears to hang when compiled and run, though
> the child process is launched. What is really bizarre is that this code
> works fine when compiled under Linux. Are there any pitfalls to be
> particularly aware of when trying to use this construct? Is this a
}
m_cEnvironment[nEnvironmentCount] = 0;
if (execle(m_strPath.c_str(),m_strCommand.c_str(), (char *)
0,m_cEnvironment) < 0)
{
std::cout << "value is : " << m_cEnvironment[0] << std::endl;
2 matches
Mail list logo