Diff for /parser3/src/include/pa_exec.h between versions 1.2 and 1.26

version 1.2, 2001/05/17 10:22:24 version 1.26, 2024/11/04 03:53:25
Line 1 Line 1
 /** @file  /** @file
         Parser: program executing for different OS-es decls.          Parser: program executing for different OS-es decls.
   
         Copyright (c) 2000,2001 ArtLebedev Group (http://www.artlebedev.com)          Copyright (c) 2000-2024 Art. Lebedev Studio (http://www.artlebedev.com)
           Authors: Konstantin Morshnev <moko@design.ru>, Alexandr Petrosian <paf@design.ru>
         Author: Alexander Petrosyan <paf@design.ru> (http://design.ru/paf)  
   
         $Id$  
 */  */
   
 #ifndef PA_EXEC_H  #ifndef PA_EXEC_H
 #define PA_EXEC_H  #define PA_EXEC_H
   
 #include "pa_config_includes.h"  #define IDENT_PA_EXEC_H "$Id$"
   
 #include "pa_string.h"  #include "pa_string.h"
 #include "pa_hash.h"  #include "pa_hash.h"
 #include "pa_array.h"  #include "pa_array.h"
   #include "pa_value.h"
   #include "pa_charset.h"
   
 /// @return exit code  struct PA_exec_result {
 int pa_exec(const String& file_spec,           int status; ///< exit code
                         const Hash *env, ///< 0 | Hash of String          File_read_result out;
                         const Array *argv, ///< 0 | Array of command line arguments          String& err;
                         const String& in, String& out, String& err);  
           PA_exec_result(): status(0), out(), err(*new String) {}
   };
   
   PA_exec_result pa_exec(
                           bool forced_allow, ///< allow execution regardles of --disable-execs
                           const String& file_spec, 
                           const HashStringString* env, ///< 0 | Hash of String
                           const ArrayString& argv, ///< 0 | Array of command line arguments
                           String::C in);
   
 #endif  #endif

Removed from v.1.2  
changed lines
  Added in v.1.26


E-mail: