Closed rachmadaniHaryono closed 2 years ago
when running join selected items with a lot of items, it will fail with error execve Argument list too long and no item will be created but selected items are deleted
execve Argument list too long
issue happened on 300 items of urls
[Command] Command=" copyq add %1" Icon=\xf066 InMenu=true Name=Join Selected Items Remove=true Shortcut=space
CopyQ Clipboard Manager v3.13.0 Qt: 5.14.2 Compiler: GCC Arch: x86_64-little_endian-lp64 OS: Ubuntu 21.10
item succesfully created
or
item not succesfully created but selected items are not deleted
this is similar issue to https://github.com/hluk/CopyQ/issues/1573 but the solution is to rewrite the command
i am not familiar enough with javascript or bash to rewrite the command, and also there is no example to get selected items to python
is it possible to add option to not remove selected item when command error ?
Fixed. Thanks for the detailed report! :+1:
Subject of the issue
when running join selected items with a lot of items, it will fail with error
execve Argument list too long
and no item will be created but selected items are deletedissue happened on 300 items of urls
Your environment
CopyQ Clipboard Manager v3.13.0 Qt: 5.14.2 Compiler: GCC Arch: x86_64-little_endian-lp64 OS: Ubuntu 21.10
Steps to reproduce
Expected behaviour
item succesfully created
or
item not succesfully created but selected items are not deleted
Actual behaviour
execve Argument list too long
Comment
this is similar issue to https://github.com/hluk/CopyQ/issues/1573 but the solution is to rewrite the command
i am not familiar enough with javascript or bash to rewrite the command, and also there is no example to get selected items to python
is it possible to add option to not remove selected item when command error ?