mirror of
https://github.com/NixOS/nix.git
synced 2025-12-18 06:51:07 +01:00
* libnix -> libstore.
This commit is contained in:
parent
8798fae304
commit
9f0f020929
26 changed files with 12 additions and 12 deletions
22
src/libstore/exec.hh
Normal file
22
src/libstore/exec.hh
Normal file
|
|
@ -0,0 +1,22 @@
|
|||
#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,
|
||||
const string & logFileName);
|
||||
|
||||
|
||||
#endif /* !__EXEC_H */
|
||||
Loading…
Add table
Add a link
Reference in a new issue