diff options
author | 2014-03-28 15:30:34 -0400 | |
---|---|---|
committer | 2014-03-28 15:30:34 -0400 | |
commit | b1068aacdc6007c45fde98f61114c9ef59186a07 (patch) | |
tree | eb6cbdd391deb144463f452a7e1597d1d02a57e2 /modules | |
parent | 86ad6f9cc48f06dca8fc6235a10715c947eadc92 (diff) | |
download | textadept-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.lua | 1 |
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) |