python-executor icon indicating copy to clipboard operation
python-executor copied to clipboard

Replace pipes.quote() with shlex.quote()

Open tvogel opened this issue 6 months ago • 3 comments

... as pipes was removed in Python 3.13.

tvogel avatar Jun 27 '25 17:06 tvogel

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.

elementalvoid avatar Jul 08 '25 16:07 elementalvoid

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.

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...

tvogel avatar Jul 08 '25 21:07 tvogel

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.

lucbouge avatar Aug 02 '25 06:08 lucbouge