Connecting to Blender... returns?

I'm scripting something from DS to Blender, but I'm having issues trying to figure out how to pass communication between the two.
To be more specific, I want to return an acknowledgment from Blender when something has been completed, but I can't find anything in the DS SDK that would listen to the Blender process. Is there a function that allows me to do this?
Alternatively, I could get around this by checking if the Blender process is running, and quit Blender each time something has finished, but that seems very inefficient.