pub fn copy_with_signals( reader: impl Read, writer: impl Write, span: Span, signals: &Signals, ) -> Result<u64, ShellError>