* Refactorings.
This commit is contained in:
+18
@@ -0,0 +1,18 @@
|
||||
#ifndef __EXEC_H
|
||||
#define __EXEC_H
|
||||
|
||||
#include <string>
|
||||
#include <map>
|
||||
|
||||
using namespace std;
|
||||
|
||||
|
||||
/* A Unix environment is a mapping from strings to strings. */
|
||||
typedef map<string, string> Environment;
|
||||
|
||||
|
||||
/* Run a program. */
|
||||
void runProgram(const string & program, Environment env);
|
||||
|
||||
|
||||
#endif /* !__EXEC_H */
|
||||
Reference in New Issue
Block a user