HomeFreeBSD

Add options to capture stdout and / or stderr and pass the output on

Description

Add options to capture stdout and / or stderr and pass the output on
to the user. There is currently no buffering, so the result may be
somewhat unpredictable if the conversation function adds a newline,
like openpam_ttyconv() does.

Clean up and simplify the environment handling code, which triggered
an inexplicable bug on some systems.

MFC after: 2 weeks

Details

Provenance
desAuthored on
Parents
rS315709: Switch from using periph_links to sim_links.
Branches
Unknown
Tags
Unknown