do not close STDIN if rune in foreground