Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
2 つのプロセス間で io をクロスしようとしていますが、OS X 10.11.x に coproc がインストールされていないようです。
私は得る: bash: coproc: コマンドが見つかりません
私の bash バージョンは次のとおりです。GNU bash、バージョン 4.3.42(1)-release (x86_64-apple-darwin15.3.0)
coproc のインストール方法を教えてください。
ありがとう@chepner!問題は、bash 4 を にインストールしたにもかかわらず/opt/local/bin/bash、呼び出しスクリプトに#!/bin/bash -ヘッダーが含まれていたことです。
/opt/local/bin/bash
#!/bin/bash -