Annotation of parser3/src/include/pa_exec.h, revision 1.13

1.1       paf         1: /** @file
                      2:        Parser: program executing for different OS-es decls.
                      3: 
1.13    ! paf         4:        Copyright (c) 2000,2001-2003 ArtLebedev Group (http://www.artlebedev.com)
1.7       paf         5:        Author: Alexandr Petrosian <paf@design.ru> (http://paf.design.ru)
1.1       paf         6: */
                      7: 
                      8: #ifndef PA_EXEC_H
                      9: #define PA_EXEC_H
1.9       paf        10: 
1.13    ! paf        11: static const char* IDENT_EXEC_H="$Date: 2003/06/27 08:36:59 $";
1.1       paf        12: 
                     13: #include "pa_string.h"
                     14: #include "pa_hash.h"
                     15: #include "pa_array.h"
1.13    ! paf        16: #include "pa_value.h"
        !            17: #include "pa_charset.h"
        !            18: 
        !            19: struct PA_exec_result {
        !            20:        int status; ///< exit code
        !            21:        String out;
        !            22:        String err;
        !            23: 
        !            24:        PA_exec_result(): status(0) {}
        !            25: };
1.1       paf        26: 
1.13    ! paf        27: PA_exec_result pa_exec(
1.8       paf        28:                        bool forced_allow, ///< allow execution regardles of --disable-execs
                     29:                        const String& file_spec, 
1.13    ! paf        30:                        const HashStringString* env, ///< 0 | Hash of String
        !            31:                        const ArrayString& argv, ///< 0 | Array of command line arguments
        !            32:                        String& in);
1.1       paf        33: 
                     34: #endif

E-mail: