Skip to content

Commit

Permalink
Suppress error messages from python during pip completions.
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisant996 committed Jul 3, 2024
1 parent d0f32bb commit c150dda
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pip.lua
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ local w = require("tables").wrap
local parser = clink.arg.new_parser

local function pip_libs_list(token)
local handle = io.popen('python -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())"')
local handle = io.popen('2>nul python -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())"')
local python_lib_path = handle:read("*a")
handle:close()

Expand Down

0 comments on commit c150dda

Please sign in to comment.