Use default shell env for launcher maker
The binary needs PATH to be set correctly to find std libraries
@@ -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
