added sleep before call to python

This commit is contained in:
Dave Goodwin 2004-10-10 12:09:18 +00:00
parent 05758e6144
commit b8be5f10b5

View file

@ -120,7 +120,8 @@ namespace ctml {
#ifdef WIN32
string cmd = pypath() + " " + path + "> ct2ctml.log 2>&1";
#else
string cmd = pypath() + " " + path + " &> ct2ctml.log";
string cmd = "sleep " + sleep() + "; " + pypath() +
" " + path + " &> ct2ctml.log";
#endif
#ifdef DEBUG_PATHS
writelog("ct2ctml: executing the command " + cmd + "\n");