Parent: [063727] (diff)

Child: [b83513] (diff)

Download this file

execmd.h    19 lines (14 with data), 456 Bytes

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
#ifndef _EXECMD_H_INCLUDED_
#define _EXECMD_H_INCLUDED_
/* @(#$Id: execmd.h,v 1.2 2005-03-17 14:02:06 dockes Exp $ (C) 2004 J.F.Dockes */
#include <string>
#include <list>
class ExecCmd {
public:
// ExecCmd() : argv(0) {};
// ~ExeCmd() {delete [] argv;}
int doexec(const std::string &cmd, const std::list<std::string>& a,
const std::string *input = 0,
std::string *output = 0);
};
#endif /* _EXECMD_H_INCLUDED_ */