I have a script similar to this:

```bash
#!/bin/bash
set -euo pipefail
IFS=$'\n\t'

while read -r l; do
    echo "${l}"
done <<< "$(cat input.txt)"

echo Success

```

The command `cat input.txt` is just an example here to simplify my question.

I expected that if `input.txt` does not exist, the script would exit immediately thanks to `set -euo pipefail`. But it's not the case, instead the script ends successfully with the following output:

```
cat: input.txt: No such file or directory

Success

```

Is there a way to make the script fail as I expected?