Also I checked about FIFO, and windows doesn't have an api that would match with unix implementation and that could be used for communication. (Source: https://github.com/python/cpython/issues/103510)
You can't create a FIFO from PE code, but you should be able to create one from unix code and then just do normal ReadFile / WriteFile from PE code.