Update the executeCommand method so it block the current thread while the Spoon process is not terminated.