imagemagick と LaTeX を実行するために、cygwin で perl を使用しています。さまざまな理由から、cygstart で pdflatex を実行する必要があります。cygstart コマンドにスペースを含むパスがあり、スペースのない Windows パスでのみこれを正しく実行します
cygstart c:/stuff/pdflatex.exe c:/Users/mainho~1/Pictures/6-13/directory.tex
mainho~1" is the 8char form of "main home computer
私は取るperlまたはunix関数が欲しい
/cygdrive/c/Users/main\ home\ computer/Pictures/6-13/directory.tex
そして戻ってきます
c:/Users/mainho~1/Pictures/6-13/directory.tex