New answers tagged shell-escape
When you launch a binary from NSTask, it is not as if it had been launched from a terminal. Hence, there are no environment variables. So, the solution is to give explicitly to the NSTask the environment. Use: the method -setEnvironment: of NSTask.
The tool arara is a great piece of software by our fellow duck-loving StackExchanger Paulo Cereda. It works somewhat like the TeXworks magic comments (see below) in that sense, that you can control the sequence of your typesetting process. For example, to get the citation right, you normally need to run latex to generate the aux-file, then bibtex to ...
Top 50 recent answers are included