On 05/25/2018 03:29 AM, Kornel Benko wrote: > > Testing batch executes > > lyx -x ... > > creates a GUI, which is not always desired. This is disturbing in tests. > > Since the export command > > lyx -e ... > > works, it should be doable. > > > > BTW, I was unable to use '--batch' command. What is the exact syntax? >
It's meant just to be an option, with no argument. It's only effect it to turn off the gui. See parse_batch in LyX.cpp. Riki