${CURRENTDIR}/lyx-app &

(Do I need to pass any arguments to it?)

Yes, I'd suppose you should pass whatever arguments the script itself received, so it should be something like:
${CURRENTDIR}/lyx-app $@ &
I think I'm right here that $@ is what you want: that one preserves quoting.

rh

Reply via email to