From c21e311c2e3966421fed4a78229ad799466b0ed3 Mon Sep 17 00:00:00 2001 From: Kamte <43906188+ckamte@users.noreply.github.com> Date: Mon, 25 Mar 2024 18:23:30 +0630 Subject: [PATCH] Working with path name with spaces --- installer.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/installer.py b/installer.py index 5768a3e..9261c0f 100644 --- a/installer.py +++ b/installer.py @@ -53,9 +53,9 @@ def setup_version(): jsonFromPowerShell = subprocess.run( [ "powershell.exe", - "(Get-Item " + "(Get-Item '" + ADOBE_SETUP_BIN - + ").VersionInfo.FileVersion | ConvertTo-Json", + + "').VersionInfo.FileVersion | ConvertTo-Json", ], stdout=subprocess.PIPE, stderr=subprocess.STDOUT,