Added comments for cwd in call_ghcmod_and_wait