Skip to content

Commit

Permalink
Use default shell env for launcher maker
Browse files Browse the repository at this point in the history
The binary needs PATH to be set correctly to find std libraries

PiperOrigin-RevId: 495263944
Change-Id: I64d2496f35915909c15db9e19c96ae726f8aebe3
  • Loading branch information
hvadehra authored and copybara-github committed Dec 14, 2022
1 parent e38d9ac commit a0c054a
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -199,6 +199,7 @@ def _create_windows_exe_launcher(ctx, java_executable, classpath, main_class, jv
inputs = [launcher_artifact],
outputs = [executable],
arguments = [launcher_artifact.path, launch_info, executable.path],
use_default_shell_env = True,
)
return executable

Expand Down

0 comments on commit a0c054a

Please sign in to comment.