in reply to Re^6: parent process stuck in read(2) on pipe opened to child process using backtick
in thread parent process stuck in read(2) on pipe opened to child process using backtick

I don't think this would work (for several reasons).  Also, the -c '...' would result in a quoting mess with any real script code.

I you think differently, please provide a complete modified a.sh, which, when killed, kills its subprocesses, but not the calling process.