attach std out/in/err