summary refs log tree commit diff
path: root/src/exec.hh
blob: 9dc8e0cd029c48d553c67e4abcfb15e77b89c8bb (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
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 */