[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Silent errors in process substitution
From: |
Anakim Border |
Subject: |
Silent errors in process substitution |
Date: |
Wed, 15 Apr 2009 14:46:45 +0200 |
Hi,
is there any way to notice commands exiting with a non-zero status
inside a process substitution?
For example:
$ cat <(exit 1)
ignores the exit status of "exit":
$ echo $?
0
I'm searching for something like "set -e" (doesn't work in this case)
to make the whole command fail.
I'm using bash 3.2.17.
Thanks,
AB
- Silent errors in process substitution,
Anakim Border <=