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