Skip to content

Commit

Permalink
Merge ea19c80 into 391d468
Browse files Browse the repository at this point in the history
  • Loading branch information
jsirois committed Sep 13, 2020
2 parents 391d468 + ea19c80 commit 28d9c92
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion src/python/pants/engine/desktop.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,13 @@ async def find_open_program(request: OpenFilesRequest, plat: Platform) -> OpenFi
else:
processes = [
InteractiveProcess(
argv=(open_program_paths.first_path.path, str(f)), run_in_workspace=True
argv=(open_program_paths.first_path.path, str(f)),
run_in_workspace=True,
# The xdg-open binary needs many environment variables to work properly. In addition
# to the various XDG_* environment variables, DISPLAY and other X11 variables are
# required. Instead of attempting to track all of these we just export the full user
# environment since this is not a cached process.
hermetic_env=False,
)
for f in request.files
]
Expand Down

0 comments on commit 28d9c92

Please sign in to comment.