mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-24 12:54:40 +01:00
pass environments to set into the json instead of changing them for the subprocess
This commit is contained in:
parent
5fc7307be6
commit
dd99682df3
1 changed files with 3 additions and 1 deletions
|
|
@ -938,8 +938,10 @@ class ApplicationLaunchContext:
|
|||
|
||||
# Prepare data that will be passed to midprocess
|
||||
# - store arguments to a json and pass path to json as last argument
|
||||
# - pass environments to set
|
||||
json_data = {
|
||||
"args": self.launch_args
|
||||
"args": self.launch_args,
|
||||
"env": self.kwargs.pop("env", {})
|
||||
}
|
||||
# Create temp file
|
||||
json_temp = tempfile.NamedTemporaryFile(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue