Replace pipes.quote() with shlex.quote()
... as pipes was removed in Python 3.13.
FYI, you are probably best to use something else (sh maybe). I have #22 open (maintains python 2.7 support) and someone else has #21 (basically the same as yours, python 3 only) open. @xolox has not responded to either -- it's been over a year for both.
I have finally given up and replaced executor with sh in my projects.
FYI, you are probably best to use something else (
shmaybe). I have #22 open (maintains python 2.7 support) and someone else has #21 (basically the same as yours, python 3 only) open. @xolox has not responded to either -- it's been over a year for both.I have finally given up and replaced
executorwithshin my projects.
Yes, it's not looking good for his projects unfortunately. Problem is, I got into this because I am using his rotate-backups tool. So, yes, I could move this to something else but it is quite entangled with his framework plus, the maintenance problem is the same on that project...
Thanks a lot for your instant answer and the tip.
applying @tvogel's pull request above let it work like a charm.
https://github.com/xolox/python-executor/pull/24/commits/6b9c7f78d266fc8b71727f637b44af1b5991a49
Regards, Luc.