See https://github.com/assert-rs/assert_cmd/issues/121 for an example The main question is how to resolve this in a way that is what people expect and works for them.