[texhax] latexmk error in gnome-terminal

Neal H. Walfield neal at walfield.org
Wed Jan 16 10:43:26 CET 2013

At Wed, 16 Jan 2013 00:16:20 -0800,
jtzzaa11-texhax2 at yahoo.com wrote:
> I'm trying to write a script where latexmk will run inside a gnome-terminal.
> Using:
> gnome-terminal -x 'latexmk f.tex' 
> gives a popup window with the error:
> "There was an error creating the child process for this terminal"
> using:
> gnome-terminal -x "ls"
> works fine, so the problem seems to be with latexmk running inside the gnome-terminal.
> any suggestions?

gnome-terminal is trying to execute the command 'latexmk f.tex', not
the command 'latexmk' with the argument f.tex.  Try:

  gnome-terminal -x latexmk f.tex


  gnome-terminal -e 'latexmk f.tex'


More information about the texhax mailing list