guix/src/exec.hh

22 lines
357 B
C++
Raw Normal View History

2003-07-20 19:29:38 +00:00
#ifndef __EXEC_H
#define __EXEC_H
#include <string>
#include <map>
#include "util.hh"
2003-07-20 19:29:38 +00:00
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,
const Strings & args, const Environment & env);
2003-07-20 19:29:38 +00:00
#endif /* !__EXEC_H */