--- parser3/src/include/pa_exec.h 2024/11/04 03:53:25 1.26 +++ parser3/src/include/pa_exec.h 2026/10/28 20:22:22 1.29 @@ -1,20 +1,24 @@ /** @file Parser: program executing for different OS-es decls. - Copyright (c) 2000-2024 Art. Lebedev Studio (http://www.artlebedev.com) + Copyright (c) 2000-2026 Art. Lebedev Studio (https://www.artlebedev.com) Authors: Konstantin Morshnev , Alexandr Petrosian */ #ifndef PA_EXEC_H #define PA_EXEC_H -#define IDENT_PA_EXEC_H "$Id: pa_exec.h,v 1.26 2024/11/04 03:53:25 moko Exp $" +#define IDENT_PA_EXEC_H "$Id: pa_exec.h,v 1.29 2026/10/28 20:22:22 moko Exp $" #include "pa_string.h" #include "pa_hash.h" #include "pa_array.h" #include "pa_value.h" #include "pa_charset.h" +#include "pa_file.h" + +/// pid of the active exec child, 0 if none; also its process group id: killed on the response timeout +extern THREAD_LOCAL int pa_exec_active_pid; struct PA_exec_result { int status; ///< exit code