summaryrefslogtreecommitdiff
path: root/Master/bin
diff options
context:
space:
mode:
authorSiep Kroonenberg <siepo@cybercomm.nl>2024-04-23 10:33:27 +0000
committerSiep Kroonenberg <siepo@cybercomm.nl>2024-04-23 10:33:27 +0000
commit0368dbc0b4f02ec455bf93d6295c45d91a19af54 (patch)
tree3f9addaa1d1796f6a02e6c195ddc4ac89a22c57e /Master/bin
parentb20538ef47eb294e1334d029f756e48e0f42de52 (diff)
vbscript -> powershell because of changes in windows script support
git-svn-id: svn://tug.org/texlive/trunk@71041 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/bin')
-rwxr-xr-xMaster/bin/windows/runscript.tlu9
1 files changed, 3 insertions, 6 deletions
diff --git a/Master/bin/windows/runscript.tlu b/Master/bin/windows/runscript.tlu
index 318dbabdcfb..c3f22c3bc88 100755
--- a/Master/bin/windows/runscript.tlu
+++ b/Master/bin/windows/runscript.tlu
@@ -287,14 +287,11 @@ local function show_error(msg)
if guimode then
local err_cmd
os.setenv('RUNSCRIPT_ERROR_MESSAGE', msg)
- local errmess_path = TEXDIR .. '/texmf-dist/scripts/texlive/tl-errmess.vbs'
- local err_cmd = {"wscript", errmess_path:gsub('/','\\')}
+ local errmess_path = TEXDIR .. '/texmf-dist/scripts/texlive/tl-errmess.ps1'
+ local err_cmd = {"powershell", "-NoLogo", "-WindowStyle", "hidden",
+ '-ExecutionPolicy', 'Bypass', errmess_path:gsub('/','\\')}
if lfs.isfile(errmess_path) then
os.spawn(err_cmd)
- elseif lfs.isfile(TEXDIR..'/tlpkg/tltcl/tclkit.exe') and
- lfs.isfile(TEXDIR..'/tlpkg/tltcl/gui_err.tcl') then
- os.spawn{TEXDIR..'/tlpkg/tltcl/tclkit.exe',
- TEXDIR..'/tlpkg/tltcl/gui_err.tcl'}
end
else
io.stderr:write(msg, '\n')