about summary refs log blame commit diff
path: root/src/libstore/exec.hh
blob: 892815c5c1e68600ff3c0349db5f68c60a34babc (plain) (tree)
1
2
3
4
5
6
7
8





                 

                  







                                                              
                                        
                                          
                                


                      
#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, Environment env,
    const string & logFileName);


#endif /* !__EXEC_H */