|
@@ -138,14 +138,16 @@ namespace SATHTTP{
|
|
|
std::string strCaseType;
|
|
|
// 执行器对象;
|
|
|
void *_pExcutor;
|
|
|
+ // Python子进程ID;
|
|
|
+ DWORD __dwPythonPID;
|
|
|
// 执行状态;
|
|
|
int _nExecutionState;
|
|
|
// 执行结果;
|
|
|
int _nExecutionResult;
|
|
|
// 脚本保存路径;
|
|
|
- std::string _strFileDir;
|
|
|
- std::string _strFileName; // 脚本文件名;
|
|
|
- std::string _strScriptPath;
|
|
|
+ std::string _strFileDir; // 脚本保存的路径;
|
|
|
+ std::string _strFileName; // 脚本文件名(无扩展名后缀);
|
|
|
+ std::string _strScriptPath; // 脚本完整文件名(_strFileDir + _strFileName + ".py");
|
|
|
// 执行开始时间;
|
|
|
ULONGLONG _ulStartTickCount;
|
|
|
std::string _strStartTime;
|
|
@@ -155,6 +157,7 @@ namespace SATHTTP{
|
|
|
__ST_CASE__() {
|
|
|
_nCaseStep = 1;
|
|
|
_pExcutor = NULL;
|
|
|
+ __dwPythonPID = 0;
|
|
|
// 0表示未执行;1表示执行中;2表示已执行;
|
|
|
_nExecutionState = UNEXECUTED;
|
|
|
// 默认空;
|