▲ | procaryote 11 hours ago | |
This looks like the worst way to do it though Why not A: have a flag to the command telling it you want json output? B: put the actual file descriptor in the environment variable rather than a flag to look for a hardcoded one? |