Add eventchange command.
Wait for stdout to finish before process exit.