**4.0.0 GA** Consider two files: 1. `c:/shell.txt` with content: ``` @c:/shell2.txt help ``` 2. `c:/shell2.txt` with content where there are empty lines at the end: ``` help ``` In shell run `script -- c:/shell.txt` it ends with `Unable to run command script: Cannot invoke "String.isEmpty()" because "input" is null`. <img width="1389" height="305" alt="Image" src="https://github.com/user-attachments/assets/4b932e15-4361-47b7-ae5f-e0ec3529042a" />