Skip to main content

OUTPUT_GRACE_AFTER_EXIT

Constant OUTPUT_GRACE_AFTER_EXIT 

Source
pub const OUTPUT_GRACE_AFTER_EXIT: Duration;
Expand description

How long output may keep arriving once the process itself has exited.

A background process the command started inherits its pipes, and they stay open as long as it runs. Reading on to EOF would wait for that process, not for the command; past this a reader stops and treats what it has as the output.