Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
I remembered there was a linux software that combines socat and supervisor. I just forgot its name. It's commonly used in deploying CTF PWN. It can expose elf binary stdin and stdout to a spefific port and restart the binary once it exits.
Required, but never shown