26 typedef std::vector<std::pair<std::string, std::string> >
Env;
28 explicit Command(
const std::string& commandLine,
const std::string& shellName=
"");
29 Command(
const std::string& commandLine,
const std::string& initialDirectory,
const std::string& inputStream_,
const std::string& shellName=
"");
30 Command(
const std::string& commandLine,
const std::string& inputStream_,
const Command::Env& env,
const std::string& shellName=
"");
31 Command(
const std::string& commandLine,
const std::string& initialDirectory,
const std::string& inputStream_,
const Command::Env& env,
const std::string& shellName=
"");
34 void setShellName(
const std::string& shellName_) {shellName=shellName_;}
37 void setCommandLine(
const std::string& commandLine_) {commandLine=commandLine_;}
43 void setInputStream(
const std::string& inputStream_) {inputStream=inputStream_;}
50 std::string shellName;
51 std::string commandLine;
52 std::string initialDirectory;
53 std::string inputStream;