diff --git a/src/nvda_voicemeeter/__init__.py b/src/nvda_voicemeeter/__init__.py index 863ba16..239fbdb 100644 --- a/src/nvda_voicemeeter/__init__.py +++ b/src/nvda_voicemeeter/__init__.py @@ -1,12 +1,14 @@ import subprocess as sp +import time from .cdll import NVDA_PATH from .window import request_window_object as draw -def launch(): +def launch(delay=1): if NVDA_PATH: sp.Popen([NVDA_PATH], shell=True) + time.sleep(delay) __ALL__ = ["launch", "draw"]