File:  [parser3project] / parser3 / src / include / pa_exec.h
Revision 1.11: download - view: text, annotated - select for diffs - revision graph
Tue Jan 21 15:51:10 2003 UTC (23 years, 5 months ago) by paf
Branches: MAIN
CVS tags: HEAD
2002->2003

/** @file
	Parser: program executing for different OS-es decls.

	Copyright (c) 2000,2001, 2003 ArtLebedev Group (http://www.artlebedev.com)
	Author: Alexandr Petrosian <paf@design.ru> (http://paf.design.ru)
*/

#ifndef PA_EXEC_H
#define PA_EXEC_H

static const char* IDENT_EXEC_H="$Date: 2003/01/21 15:51:10 $";

#include "pa_string.h"
#include "pa_hash.h"
#include "pa_array.h"

/// @return exit code
int pa_exec(
			bool forced_allow, ///< allow execution regardles of --disable-execs
			const String& file_spec, 
			const Hash *env, ///< 0 | Hash of String
			const Array *argv, ///< 0 | Array of command line arguments
			const String& in, String& out, String& err);

#endif

E-mail: