File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed
patchwork/steps/CallShell Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change 11from __future__ import annotations
22
3+ import os
34import shlex
45import subprocess
56from pathlib import Path
67
78from patchwork .common .utils .utils import mustache_render
89from patchwork .logger import logger
910from patchwork .step import Step , StepStatus
11+ from patchwork .steps import CallSQL
1012from patchwork .steps .CallShell .typed import CallShellInputs , CallShellOutputs
1113
1214
@@ -24,7 +26,7 @@ def __parse_env_text(env_text: str) -> dict[str, str]:
2426 env_spliter .whitespace_split = True
2527 env_spliter .whitespace += ";"
2628
27- env : dict [str , str ] = dict ()
29+ env : dict [str , str ] = os . environ . copy ()
2830 for env_assign in env_spliter :
2931 env_assign_spliter = shlex .shlex (env_assign , posix = True )
3032 env_assign_spliter .whitespace_split = True
You can’t perform that action at this time.
0 commit comments