Kilian / Trimage

A cross-platform tool for optimizing PNG and JPG files.
http://trimage.org
MIT License
706 stars 55 forks source link

Fails when file has an apostrophe in the path #26

Open AlisterH opened 11 years ago

AlisterH commented 11 years ago

What the title says. e.g. it fails with: /media/Files/Photos/Mum's 50th/p1060584.jpg

akarzim commented 3 years ago

The bug is still present.

❯ trimage
/bin/sh: -c: line 0: unexpected EOF while looking for matching `''
/bin/sh: -c: line 1: syntax error: unexpected end of file
image

PS: I observe the same behaviour on Debian 11.