Attach stdin/stderr