This PR hardens the interaction with the JSON validator co-process, to avoid the error seen in #10 with _PID not being set after starting a coproc.
Related to this, we also now support using the JSON_BASH_GREP envar to change the grep command to a custom path, and we default to ggrep if it's available.
This PR hardens the interaction with the JSON validator co-process, to avoid the error seen in #10 with
_PID
not being set after starting a coproc.Related to this, we also now support using the
JSON_BASH_GREP
envar to change the grep command to a custom path, and we default toggrep
if it's available.This resolves #12.