From b8be5f10b501fdb4afe8672132c77e5daf5fe170 Mon Sep 17 00:00:00 2001 From: Dave Goodwin Date: Sun, 10 Oct 2004 12:09:18 +0000 Subject: [PATCH] added sleep before call to python --- Cantera/src/ct2ctml.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Cantera/src/ct2ctml.cpp b/Cantera/src/ct2ctml.cpp index 65c941df7..e72e1adc2 100644 --- a/Cantera/src/ct2ctml.cpp +++ b/Cantera/src/ct2ctml.cpp @@ -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");