Dear Ulrike, > but blub.temp is empty. I get the pathes only when using > --shell-escape. Is this to be expected? Yes, that is expected. In the restricted mode, all arguments are quoted, so kpsewhich foo >>bar does not work. Only very simple commands are allowed in the restricted mode. Best, Akira