woops
parent
3de2dd7039
commit
d0391b7304
|
@ -311,8 +311,8 @@ int Sproc::execute(std::string shell, std::string environment_file, std::string
|
||||||
close(child_stderr_pipe[WRITE_END]);
|
close(child_stderr_pipe[WRITE_END]);
|
||||||
|
|
||||||
// buffers for reading from child fd's
|
// buffers for reading from child fd's
|
||||||
char stdout_buf[1000] = {0};
|
char stdout_buf[1] = {0};
|
||||||
char stderr_buf[1000] = {0};
|
char stderr_buf[1] = {0};
|
||||||
|
|
||||||
// will contain a set of file descriptors to monitor representing stdout and stderr of the child process
|
// will contain a set of file descriptors to monitor representing stdout and stderr of the child process
|
||||||
fd_set readfds;
|
fd_set readfds;
|
||||||
|
|
|
@ -0,0 +1,11 @@
|
||||||
|
#!/usr/bin/bash
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
set -a
|
||||||
|
|
||||||
|
echo "variables file says hello and set a variable named TEST_VAR"
|
||||||
|
TEST_VAR="999"
|
||||||
|
|
Loading…
Reference in New Issue