pandoc_exec function

Get the path of the pandoc executable