summaryrefslogtreecommitdiff
path: root/Master/bin/windows
diff options
context:
space:
mode:
authorSiep Kroonenberg <siepo@cybercomm.nl>2024-06-06 07:46:11 +0000
committerSiep Kroonenberg <siepo@cybercomm.nl>2024-06-06 07:46:11 +0000
commitb58bdef618d11bc68637892af5b45d776f8c5733 (patch)
tree83729a0e5d947f2408c40013e888d0d1051a5a14 /Master/bin/windows
parent7ecf799cebce85458fd9606ceea538b4405b8382 (diff)
Better argument handling for powershell
git-svn-id: svn://tug.org/texlive/trunk@71447 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/bin/windows')
-rwxr-xr-xMaster/bin/windows/runscript.tlu4
1 files changed, 2 insertions, 2 deletions
diff --git a/Master/bin/windows/runscript.tlu b/Master/bin/windows/runscript.tlu
index 056bdd054ad..f81ab69db87 100755
--- a/Master/bin/windows/runscript.tlu
+++ b/Master/bin/windows/runscript.tlu
@@ -745,7 +745,7 @@ local extension_map = {
['.py' ] = {'python.exe'},
['.rb' ] = {'ruby.exe'},
['.tcl'] = {'tclsh.exe tclsh86.exe tclsh85.exe tclkitsh.exe'},
- ['.ps1'] = {'powershell.exe', '-NoLogo', '-ExecutionPolicy', 'Bypass'},
+ ['.ps1'] = {'powershell.exe', '-NoLogo', '-ExecutionPolicy', 'Bypass', '-file'},
['.vbs'] = {'cscript.exe', '-nologo'},
}
if guimode then
@@ -757,7 +757,7 @@ if guimode then
-- gui tcl shares no interpreters with non-gui tcl
extension_map['.tcl'] = {'wish.exe wish86.exe wish85.exe tclkit.exe'}
extension_map['.ps1'] = {'powershell.exe', '-NoLogo', '-ExecutionPolicy', 'Bypass',
- '-WindowStyle', 'hidden'}
+ '-WindowStyle', 'hidden', '-file'}
extension_map['.vbs'][1] = 'wscript.exe ' .. extension_map['.vbs'][1]
end
extension_map['.cmd'] = extension_map['.bat']