Wait for external dot process to exit before exiting ourselves.
Also book in Eclipse project configuration.