Add interface for callbacks in child process before exec