That's the only correct way to do this! Otherwise using the weird fifo pipes, I can't tell when the main application exits.
@@ -0,0 +1,7 @@
+#!/bin/bash
+
+# cat fifo | build/doorman /usr/bin/mc 2>&1 | nc -l 127.0.0.1 2023 > fifo
+pipexec -- [ NETCAT /bin/netcat -l 2023 ] [ MC build/doorman /usr/bin/mc ] "{NETCAT:1>MC:0}" "{MC:1>NETCAT:0}"