paolodarkman - 2012-08-08

i'd like to able to run this script instead of "pdflatex" in kile

mkdir -p /tmp/kiletemp; cp .tex .sty *.bib /tmp/kiletemp/; cd /tmp/kiletemp/; pdflatex $@

call it "pdflatextmp"

It simply copy everything in to a temporary folder, then compiles it.
it seems that i'm not able to do something similar in kile.
on bash it works.

i tried also to tell kile not to run pdflatex but pdflatextmp.
it doesn't work. it tells me that he's not able to run it (even if i wrote the complete path).

how could be done this? is it possible to do it in kile?