pub fn insert_child_streams(
    task_id: usize,
    streams: IoStreams
) -> Option<IoStreams>
Expand description

Shells call this function to store queue stdio streams for applications. If there are any existing readers/writers for the task (which should not happen in normal practice), it returns the old one, otherwise returns None.