Make runCommand async, and await it when executing it. This will ensure we only continue after the command was successfully executed.
runCommand