computer-use-ootb-internal 0.0.193__py3-none-any.whl → 0.0.194__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- computer_use_ootb_internal/preparation/pr_prepare.py +13 -13
- {computer_use_ootb_internal-0.0.193.dist-info → computer_use_ootb_internal-0.0.194.dist-info}/METADATA +1 -1
- {computer_use_ootb_internal-0.0.193.dist-info → computer_use_ootb_internal-0.0.194.dist-info}/RECORD +5 -5
- {computer_use_ootb_internal-0.0.193.dist-info → computer_use_ootb_internal-0.0.194.dist-info}/WHEEL +0 -0
- {computer_use_ootb_internal-0.0.193.dist-info → computer_use_ootb_internal-0.0.194.dist-info}/entry_points.txt +0 -0
@@ -93,21 +93,21 @@ def run_preparation(state):
|
|
93
93
|
log.info(f"Executing command string with shell=True: {cmd_string}")
|
94
94
|
print(f"[DEBUG] Attempting command string in pr_prepare: {cmd_string}")
|
95
95
|
|
96
|
-
#
|
97
|
-
|
96
|
+
# Use Popen with shell=True to launch and detach
|
97
|
+
try:
|
98
|
+
process = subprocess.Popen(cmd_string, shell=True,
|
99
|
+
creationflags=subprocess.CREATE_NEW_PROCESS_GROUP | subprocess.DETACHED_PROCESS,
|
100
|
+
stdout=subprocess.DEVNULL, # Suppress any potential stdout/stderr locking
|
101
|
+
stderr=subprocess.DEVNULL)
|
102
|
+
print(f"[DEBUG] Launched process via Popen, PID (may be cmd.exe): {process.pid}")
|
103
|
+
# Assume success if Popen doesn't throw immediately
|
104
|
+
log.info(f"Successfully dispatched command for Premiere Pro via Popen.")
|
105
|
+
except Exception as popen_err:
|
106
|
+
print(f"[DEBUG] Error launching with Popen: {popen_err}")
|
107
|
+
log.error(f"Error launching Premiere Pro with Popen: {popen_err}", exc_info=True)
|
98
108
|
|
99
|
-
#
|
100
|
-
print(f"[DEBUG] pr_prepare command result:")
|
101
|
-
print(f"[DEBUG] Return Code: {result.returncode}")
|
102
|
-
print(f"[DEBUG] Stdout: {result.stdout.strip() if result.stdout else ''}")
|
103
|
-
print(f"[DEBUG] Stderr: {result.stderr.strip() if result.stderr else ''}")
|
109
|
+
# No reliable return code check with Popen+start, assume dispatch success if no exception
|
104
110
|
|
105
|
-
if result.returncode == 0:
|
106
|
-
log.info(f"Successfully executed command for Premiere Pro.")
|
107
|
-
else:
|
108
|
-
log.error(f"Error executing command for Premiere Pro: {result.stderr.strip() if result else 'Command not run'}")
|
109
|
-
if result and result.stdout:
|
110
|
-
log.error(f"Stdout from start command: {result.stdout.strip()}")
|
111
111
|
except FileNotFoundError:
|
112
112
|
log.error("Error: 'cmd' or 'start' command not found. Ensure system PATH is configured correctly.")
|
113
113
|
except Exception as e:
|
{computer_use_ootb_internal-0.0.193.dist-info → computer_use_ootb_internal-0.0.194.dist-info}/RECORD
RENAMED
@@ -36,10 +36,10 @@ computer_use_ootb_internal/computer_use_demo/tools/screen_capture.py,sha256=L8qf
|
|
36
36
|
computer_use_ootb_internal/preparation/__init__.py,sha256=AgtGHcBpiTkxJjF0xwcs3yyQ6SyUvhL3G0vD2XO-zJw,63
|
37
37
|
computer_use_ootb_internal/preparation/excel_prepare.py,sha256=cKJ035tBaDM6Yyk9eriNvvuE64GmRjaCPCcVKMdzaKY,5180
|
38
38
|
computer_use_ootb_internal/preparation/powerpoint_prepare.py,sha256=eHaDOIJnBJ9QpRPZTmFiaLwa9ZWMJaEXsM0HktkjuOo,5433
|
39
|
-
computer_use_ootb_internal/preparation/pr_prepare.py,sha256=
|
39
|
+
computer_use_ootb_internal/preparation/pr_prepare.py,sha256=_4wHv0-q7D_kY6_niggulWxahZqIafQHGyWxcFSPzcc,6136
|
40
40
|
computer_use_ootb_internal/preparation/star_rail_prepare.py,sha256=r0b19M_c1sXkN3_MRFjql8w_ThC9nZUe8zbSLYUvKS8,4635
|
41
41
|
computer_use_ootb_internal/preparation/word_prepare.py,sha256=-SKbzckosEcOI5v2M5Pg7iFw9jTS5INJ6EoT5cHIqko,5172
|
42
|
-
computer_use_ootb_internal-0.0.
|
43
|
-
computer_use_ootb_internal-0.0.
|
44
|
-
computer_use_ootb_internal-0.0.
|
45
|
-
computer_use_ootb_internal-0.0.
|
42
|
+
computer_use_ootb_internal-0.0.194.dist-info/METADATA,sha256=ahg-tUsM9T0pB5_YkHFsMWtevCH8W2Qa-Sqn5m9nSt8,1048
|
43
|
+
computer_use_ootb_internal-0.0.194.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
|
44
|
+
computer_use_ootb_internal-0.0.194.dist-info/entry_points.txt,sha256=bXfyAU_qq-G1EiEgAQEioXvgEdRCFxaTooqdDD9Y4OA,258
|
45
|
+
computer_use_ootb_internal-0.0.194.dist-info/RECORD,,
|
{computer_use_ootb_internal-0.0.193.dist-info → computer_use_ootb_internal-0.0.194.dist-info}/WHEEL
RENAMED
File without changes
|
File without changes
|