From b1068aacdc6007c45fde98f61114c9ef59186a07 Mon Sep 17 00:00:00 2001 From: mitchell <70453897+667e-11@users.noreply.github.com> Date: Fri, 28 Mar 2014 15:30:34 -0400 Subject: Arguments to `spawn()` should be in _CHARSET, not necessarily UTF-8. --- modules/textadept/run.lua | 1 - 1 file changed, 1 deletion(-) (limited to 'modules') 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) -- cgit v1.2.3