DaanDeMeyer / reproc

A cross-platform (C99/C++11) process library

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

I can't draw the rest of the owl

HunterZ opened this issue · comments

commented

I'm giving up on trying to use this because the documentation is just too lean. It's not sufficient to say "look at the examples" when the examples don't even show all of the API being meaningfully used.

I mostly just want to know what actual return values can be returned by each function, and how to actually interpret them. For example, the documentation mentions that reproc_wait() / reproc::process::wait() can be used with a timeout of zero to check whether the process has exited - but how exactly?

I basically had to waste an entire day studying the C API and then the C++ extensions to understand this library at all, and except for capturing the output, I still don't know enough to do more than what std::system() could handle.

I'm happy to take PRs improving the documentation. I don't have a need for reproc myself anymore so I don't have any motivation to write more documentation for it.

commented

Thanks. I ended up having more success with tiny-process-library so I'll close this.