diff --git a/src/Sproc/Sproc.cpp b/src/Sproc/Sproc.cpp index db0fdf2..bc32b13 100644 --- a/src/Sproc/Sproc.cpp +++ b/src/Sproc/Sproc.cpp @@ -311,8 +311,8 @@ int Sproc::execute(std::string shell, std::string environment_file, std::string close(child_stderr_pipe[WRITE_END]); // buffers for reading from child fd's - char stdout_buf[1000] = {0}; - char stderr_buf[1000] = {0}; + char stdout_buf[1] = {0}; + char stderr_buf[1] = {0}; // will contain a set of file descriptors to monitor representing stdout and stderr of the child process fd_set readfds; diff --git a/test/environments/rex.variables b/test/environments/rex.variables new file mode 100644 index 0000000..ab2d82b --- /dev/null +++ b/test/environments/rex.variables @@ -0,0 +1,11 @@ +#!/usr/bin/bash + + + + + +set -a + +echo "variables file says hello and set a variable named TEST_VAR" +TEST_VAR="999" +