aboutsummaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authormitchell <70453897+667e-11@users.noreply.github.com>2014-03-28 15:30:34 -0400
committermitchell <70453897+667e-11@users.noreply.github.com>2014-03-28 15:30:34 -0400
commitb1068aacdc6007c45fde98f61114c9ef59186a07 (patch)
treeeb6cbdd391deb144463f452a7e1597d1d02a57e2 /modules
parent86ad6f9cc48f06dca8fc6235a10715c947eadc92 (diff)
downloadtextadept-b1068aacdc6007c45fde98f61114c9ef59186a07.tar.gz
textadept-b1068aacdc6007c45fde98f61114c9ef59186a07.zip
Arguments to `spawn()` should be in _CHARSET, not necessarily UTF-8.
Diffstat (limited to 'modules')
-rw-r--r--modules/textadept/run.lua1
1 files changed, 0 insertions, 1 deletions
diff --git a/modules/textadept/run.lua b/modules/textadept/run.lua
index c77a7a0c..b9a92aae 100644
--- a/modules/textadept/run.lua
+++ b/modules/textadept/run.lua
@@ -113,7 +113,6 @@ local function command(commands, event)
ui.SILENT_PRINT = false
end
- command, cwd = command:iconv('UTF-8', _CHARSET), cwd:iconv('UTF-8', _CHARSET)
if commands == M.build_commands then emit_output('> cd '..cwd) end
emit_output('> '..command)
local p, err = spawn(command, cwd, emit_output, emit_output, function(status)