Don't rely on legacy feature of interpreting non-executable files as scripts there.
Additional running shell could prevent EOF from being detected.