Proc::Background has a wait function that you can use to get the status code of the child process, however...
It sounds to me that Proc::Background isn't really suited for what you need. From reading the docs, it just seems like a wrapper for starting/killing/waiting on processes, so that's basically just fork, wait, etc. If you need to communicate with a running process, I think
perlipc is better suited to your needs.