kart icon indicating copy to clipboard operation
kart copied to clipboard

`kart.exe config -l` displays "error: cannot spawn less" on windows

Open hamishcampbell opened this issue 1 year ago • 1 comments

Describe the bug

In Windows, running the command config -l displays error: cannot pawn less before continuing.

This doesn't seem to cause issues using the command line. This might cause issues in other software such as the QGIS Kart plugin that uses the result of the command.

To Reproduce

Steps to reproduce the behaviour:

  1. run kart.exe config -l
  2. See output

Expected behaviour Just get the outpu tof config -l

Output

Screenshot 2024-01-09 at 16 48 35

Version Info

  • OS: Windows Server 2022
  • Version: Kart 0.15

hamishcampbell avatar Jan 09 '24 03:01 hamishcampbell

Note this was Kart as installed by the QGIS plugin.

It looks like this is fixed with

kart.exe config --global core.pager ""
``

hamishcampbell avatar Jan 10 '24 22:01 hamishcampbell