From a474738d3d2c89cc349ea7bb93ffc28115a953b2 Mon Sep 17 00:00:00 2001 From: "d.kovalenko" Date: Wed, 16 Sep 2026 15:31:34 +0300 Subject: [PATCH] fix: popen uses T_EXEC_ENV --- src/local_ops.py | 2 +- src/remote_ops.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/local_ops.py b/src/local_ops.py index 0c98701..9bddd57 100644 --- a/src/local_ops.py +++ b/src/local_ops.py @@ -509,7 +509,7 @@ def popen( stdin: typing.Optional[T_OS_IO_ID] = subprocess.PIPE, stdout: typing.Optional[T_OS_IO_ID] = subprocess.PIPE, stderr: typing.Optional[T_OS_IO_ID] = subprocess.PIPE, - exec_env: typing.Optional[dict] = None, + exec_env: typing.Optional[OsOperations.T_EXEC_ENV] = None, cwd: typing.Optional[str] = None ) -> OsProcessController: assert text is None or type(text) is bool diff --git a/src/remote_ops.py b/src/remote_ops.py index 3bb07a1..7fc9591 100644 --- a/src/remote_ops.py +++ b/src/remote_ops.py @@ -544,7 +544,7 @@ def popen( stdin: typing.Optional[T_OS_IO_ID] = subprocess.PIPE, stdout: typing.Optional[T_OS_IO_ID] = subprocess.PIPE, stderr: typing.Optional[T_OS_IO_ID] = subprocess.PIPE, - exec_env: typing.Optional[dict] = None, + exec_env: typing.Optional[OsOperations.T_EXEC_ENV] = None, cwd: typing.Optional[str] = None ) -> OsProcessController: assert type(cmd) is str or type(cmd) is list