summaryrefslogtreecommitdiff
path: root/project2/processes/processStream.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'project2/processes/processStream.cpp')
-rw-r--r--project2/processes/processStream.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/project2/processes/processStream.cpp b/project2/processes/processStream.cpp
index 1a853e4..f2c678f 100644
--- a/project2/processes/processStream.cpp
+++ b/project2/processes/processStream.cpp
@@ -21,13 +21,13 @@ class ProcessStream : public Stream, IHaveParameters {
{
}
- void runStream(const Sink & sink) const
+ void runStream(const Sink & sink, ExecContext * ec) const
{
const char * callProc[parameters.size() + 2];
- callProc[0] = path();
+ callProc[0] = path(ec);
int pidx = 1;
BOOST_FOREACH(const Parameters::value_type & p, parameters) {
- callProc[pidx++] = p.second();
+ callProc[pidx++] = p.second(ec);
}
callProc[pidx] = NULL;
int fds[2];