changes how stdin/stdout/stderr are handled