Closed antonio061 closed 3 years ago
Ok, it looks like it has something to do with the bash version in MacOS not being up to date (as MacOS has moved to zsh as the main shell).
➜ ~ bash --version
GNU bash, version 3.2.57(1)-release (x86_64-apple-darwin19)
Copyright (C) 2007 Free Software Foundation, Inc.
Installing an updated version via brew install bash
seems to have resolved it.
➜ ~ /usr/local/bin/bash --version
GNU bash, version 5.0.18(1)-release (x86_64-apple-darwin19.5.0)
Copyright (C) 2019 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software; you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Yeah, I heard Apple did something crazy with licensing that forced MacOS' official Bash version to 3.
Although I wrote it in the README that Bash v4+ is required (precisely beacuse of asynchronous path tracing using coproc
), I may indeed just add a warning during prerequisite checks that helps the user to figure out the problem right away. Will keep this open until I do.
Thanks for your feedback!
This looks great!
Trying to run on a Mac however and getting a
coproc: command not found
error in the script:Any ideas?