summaryrefslogtreecommitdiff
path: root/scripts/context/stubs/mswin/mtxrun.lua
diff options
context:
space:
mode:
authorMarius <mariausol@gmail.com>2010-12-02 13:20:14 +0200
committerMarius <mariausol@gmail.com>2010-12-02 13:20:14 +0200
commit2e0934d99d3af014bd95c68d52f2d24816a11b8c (patch)
tree79abe1e3bc4e1e9c9e30c60e2959be30a36c90ed /scripts/context/stubs/mswin/mtxrun.lua
parentea81b65e2773bb6b0bdc9fea03df294e0bbd49a7 (diff)
downloadcontext-2e0934d99d3af014bd95c68d52f2d24816a11b8c.tar.gz
beta 2010.12.02 12:05
Diffstat (limited to 'scripts/context/stubs/mswin/mtxrun.lua')
-rw-r--r--scripts/context/stubs/mswin/mtxrun.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/context/stubs/mswin/mtxrun.lua b/scripts/context/stubs/mswin/mtxrun.lua
index bb16aaec0..a80e4c730 100644
--- a/scripts/context/stubs/mswin/mtxrun.lua
+++ b/scripts/context/stubs/mswin/mtxrun.lua
@@ -13906,6 +13906,7 @@ function runners.execute_program(fullname)
return true
elseif state == "run" then
local before, after = environment.splitarguments(fullname)
+ for k=1,#after do after[k] = resolvers.resolve(after[k]) end
environment.initializearguments(after)
fullname = fullname:gsub("^bin:","")
local command = fullname .. " " .. (environment.reconstructcommandline(after or "",noquote) or "")