reproc icon indicating copy to clipboard operation
reproc copied to clipboard

Drain is not filling output with anything

Open SamuelMarks opened this issue 4 years ago • 2 comments

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?

SamuelMarks avatar May 12 '21 12:05 SamuelMarks

This works for me on Linux. Are you on Windows by any chance?

DaanDeMeyer avatar Aug 07 '21 19:08 DaanDeMeyer

Not working as of this morning. Windows.

zkxjzmswkwl avatar Aug 04 '23 13:08 zkxjzmswkwl