|
|
| version 1.17, 2004/05/11 15:05:21 | 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-2004 ArtLebedev Group (http://www.artlebedev.com) | Copyright (c) 2000-2024 Art. Lebedev Studio (http://www.artlebedev.com) |
| Author: Alexandr Petrosian <paf@design.ru> (http://paf.design.ru) | Authors: Konstantin Morshnev <moko@design.ru>, Alexandr Petrosian <paf@design.ru> |
| */ | */ |
| #ifndef PA_EXEC_H | #ifndef PA_EXEC_H |
| #define PA_EXEC_H | #define PA_EXEC_H |
| static const char * const IDENT_EXEC_H="$Date$"; | #define IDENT_PA_EXEC_H "$Id$" |
| #include "pa_string.h" | #include "pa_string.h" |
| #include "pa_hash.h" | #include "pa_hash.h" |
| Line 18 static const char * const IDENT_EXEC_H=" | Line 18 static const char * const IDENT_EXEC_H=" |
| struct PA_exec_result { | struct PA_exec_result { |
| int status; ///< exit code | int status; ///< exit code |
| String& out; | File_read_result out; |
| String& err; | String& err; |
| PA_exec_result(): status(0), out(*new String), err(*new String) {} | PA_exec_result(): status(0), out(), err(*new String) {} |
| }; | }; |
| PA_exec_result pa_exec( | PA_exec_result pa_exec( |
| Line 29 PA_exec_result pa_exec( | Line 29 PA_exec_result pa_exec( |
| const String& file_spec, | const String& file_spec, |
| const HashStringString* env, ///< 0 | Hash of String | const HashStringString* env, ///< 0 | Hash of String |
| const ArrayString& argv, ///< 0 | Array of command line arguments | const ArrayString& argv, ///< 0 | Array of command line arguments |
| String& in); | String::C in); |
| #endif | #endif |