diff options
Diffstat (limited to 'kvmd')
-rw-r--r-- | kvmd/apps/pstrun/__init__.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/kvmd/apps/pstrun/__init__.py b/kvmd/apps/pstrun/__init__.py index cd645ad3..2b1b895a 100644 --- a/kvmd/apps/pstrun/__init__.py +++ b/kvmd/apps/pstrun/__init__.py @@ -60,7 +60,10 @@ async def _run_process(cmd: List[str], data_path: str) -> asyncio.subprocess.Pro return (await asyncio.create_subprocess_exec( *cmd, preexec_fn=_preexec, - env={"KVMD_PST_DATA": data_path}, + env={ + **os.environ, + "KVMD_PST_DATA": data_path, + }, )) |