mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2025-02-07 10:47:18 +02:00
19 lines
302 B
C++
19 lines
302 B
C++
![]() |
#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 */
|