reproc
reproc copied to clipboard
Drain is not filling output with anything
I replaced argv here https://github.com/DaanDeMeyer/reproc/blob/3e7caf8/reproc/examples/drain.c#L20 with this line but the output is always empty:
char *cmd[] = {
"curl",
"--proto",
"=https",
"--tlsv1.2",
"-sSf",
"https://sh.rustup.rs",
"\0" /* tried without this also */
};
What am I doing wrong?
This works for me on Linux. Are you on Windows by any chance?
Not working as of this morning. Windows.