After reading 17.7.2 of the gambit documentation, I see that

(define p (open-process ...))

will give me an input-output port where I can write to the process and read from the process.

However, how do I wait to see when this process has ended?

Thanks!