boost::process : write both stdout and stderr to the same stream ?
Hi,
Is it possible to write both the stdout and stderr stream to the same
output file/stream ?
I am hoping to emulate
```
bp_stdout_stderr_app > output.txt 2>&1
```
I tried doing something like that but get a runtime error
Run output
```
terminate called after throwing an instance of
'boost::process::process_error'
what(): dup3() failed: Bad file descriptor
stdout : 000
stdout : 020
stdout : 040
Aborted (core dumped)
```
Source code
```
#include
participants (1)
-
Nicholas Yue