/bin/bash coproc f par1done./debug.sh: line 7: warning: execute_coproc: coproc [8740:COPROC] still exists
./debug.sh: line 7: warning: execute_coproc: coproc<
我尝试过对coproc或子subshell进行各种调用,但是除了让子subshell写入父程序管理的临时文件,然后让父程序将该临时文件的内容读入变量之外,我还没有找到其他方法。# If the validation is done in a subshell or coproc or something,
# at this point, wait for the work