Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Drain is not filling output with anything #58

Open
SamuelMarks opened this issue May 12, 2021 · 2 comments
Open

Drain is not filling output with anything #58

SamuelMarks opened this issue May 12, 2021 · 2 comments

Comments

@SamuelMarks
Copy link

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?

@DaanDeMeyer
Copy link
Owner

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

@zkxjzmswkwl
Copy link

Not working as of this morning. Windows.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants