diff options
author | Karen Arutyunov <karen@codesynthesis.com> | 2019-04-18 15:34:22 +0300 |
---|---|---|
committer | Karen Arutyunov <karen@codesynthesis.com> | 2019-04-18 15:34:22 +0300 |
commit | 63fe0332e57bb4e7583a75aba3f0af4c678051b4 (patch) | |
tree | c5c1140bde53a7252d2058ef06ef3d25d986911b /libbutl/manifest-parser.bash.in | |
parent | 8b0fe501e77a1f4032a396b97ad317f09e160ee3 (diff) |
Add note on bash coprocess bug
Diffstat (limited to 'libbutl/manifest-parser.bash.in')
-rw-r--r-- | libbutl/manifest-parser.bash.in | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/libbutl/manifest-parser.bash.in b/libbutl/manifest-parser.bash.in index 2c6158a..b0475c4 100644 --- a/libbutl/manifest-parser.bash.in +++ b/libbutl/manifest-parser.bash.in @@ -64,6 +64,10 @@ function butl_manifest_parser_start () # [<file>] # https://lists.gnu.org/archive/html/bug-bash/2012-12/msg00069.html # https://lists.gnu.org/archive/html/bug-bash/2012-10/msg00027.html # + # Also note that the bash bug (still present in 5.0) prevents running + # multiple coprocesses at a time (see the BUGS section of bash(1) man page + # for details). + # coproc { butl_parse_manifest; } <&"$butl_manifest_parser_ifd" exec {butl_manifest_parser_ofd}<&"${COPROC[0]}" butl_manifest_parser_pid="$COPROC_PID" |