Rajat Jain
Rajat Jain
The library only uses std::filesystem::path from C++17. That is just used for differentiating overloads for variable/file redirection. We can port the library to comply with C++14 standard as well.
Something close to the following syntax can be supported to set bash-like options and export environment variables: { subprocess::set(pipefail); subprocess::export("var_name", "var_value"); return (subprocess::command{"random_cmd"} | subprocess::command{"another_cmd"}).run(); } // pipefail is automatically...
A subtle issue with variable_descriptor is that it attempts to read all the data at once in the end. As opposed to whenever the data is available. Proposed design: `posix_process`...
** shrug **
Currently, stdout/stderr can only be captured into `std::string`. This can be a problem for programs that dump a huge amount of output. There should be an alternate option to capture...