mirror of
https://github.com/NixOS/nix.git
synced 2025-12-20 16:01:07 +01:00
* Refactored the source tree.
This commit is contained in:
parent
0eab306466
commit
53e376d836
50 changed files with 0 additions and 1 deletions
21
src/libnix/exec.hh
Normal file
21
src/libnix/exec.hh
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
#ifndef __EXEC_H
|
||||
#define __EXEC_H
|
||||
|
||||
#include <string>
|
||||
#include <map>
|
||||
|
||||
#include "util.hh"
|
||||
|
||||
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);
|
||||
|
||||
|
||||
#endif /* !__EXEC_H */
|
||||
Loading…
Add table
Add a link
Reference in a new issue