Trimage icon indicating copy to clipboard operation
Trimage copied to clipboard

Fails when file has an apostrophe in the path

Open AlisterH opened this issue 12 years ago • 1 comments

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

AlisterH avatar Jul 04 '13 03:07 AlisterH

  • Trimage version: 1.0.6
  • Python version: 3.9.4
  • Dependencies versions: pngcrush 1.8.13, uses libpng 1.6.32 and zlib 1.2.11
  • OS: macOS (Darwin Kernel Version 20.3.0)

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.

akarzim avatar Apr 19 '21 18:04 akarzim