texlive[71447] Master/bin/windows/runscript.tlu: Better argument
commits+siepo at tug.org
commits+siepo at tug.org
Thu Jun 6 09:46:11 CEST 2024
Revision: 71447
https://tug.org/svn/texlive?view=revision&revision=71447
Author: siepo
Date: 2024-06-06 09:46:11 +0200 (Thu, 06 Jun 2024)
Log Message:
-----------
Better argument handling for powershell
Modified Paths:
--------------
trunk/Master/bin/windows/runscript.tlu
Modified: trunk/Master/bin/windows/runscript.tlu
===================================================================
--- trunk/Master/bin/windows/runscript.tlu 2024-06-05 23:41:53 UTC (rev 71446)
+++ trunk/Master/bin/windows/runscript.tlu 2024-06-06 07:46:11 UTC (rev 71447)
@@ -745,7 +745,7 @@
['.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 @@
-- 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']
More information about the tex-live-commits
mailing list.