subprocess::exceptions::os_error class

Thrown when there is an error at the operating system level.

Thrown whenever an error code is returned from a syscall and subprocess is unable to proceed with the function called by the user.

Base classes

class subprocess_error
A catch-all class for all errors thrown by subprocess.

Constructors, destructors, conversion operators

subprocess_error(std::string_view what_arg, int errc = errno)