mirror of
https://github.com/hyugogirubato/KeyDive.git
synced 2026-07-15 18:40:02 +02:00
Fix subprocess
This commit is contained in:
+1
-1
@@ -29,7 +29,7 @@ if __name__ == '__main__':
|
||||
logger.info('Version: %s', extractor.__version__)
|
||||
|
||||
# Ensure the ADB server is running
|
||||
sp = subprocess.run('adb start-server', capture_output=True)
|
||||
sp = subprocess.run(['adb', 'start-server'], capture_output=True)
|
||||
if sp.returncode != 0:
|
||||
raise EnvironmentError('ADB is not recognized as an environment variable, see https://github.com/hyugogirubato/KeyDive/blob/main/docs/PACKAGE.md#adb-android-debug-bridge')
|
||||
|
||||
|
||||
Reference in New Issue
Block a user