os:command queston

Kenneth Lundin kenneth@REDACTED
Fri Apr 2 19:16:43 CEST 2021


the problem is not about escaping, it is tat the argument to os:cmd should
be a string.

in you case
os:cmd("pdflatex --shell-escape tex/oblivious.tex").

/Regards Kenneth

On Fri, Apr 2, 2021, 19:06 Lloyd R. prentice <lloyd@REDACTED> wrote:

> Hello,
>
> This error just bit me:
>
> Eshell V10.4  (abort with ^G)
> 1> os:command(pdflatex --shell-escape tex/oblivious.tex).
> * 1: syntax error before: tex
>
> I did a Google search, but couldn't find out how to escape the period
> before tex.
>
> So how might I do that?
>
> Thanks,
>
> LRP
>
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20210402/83dbef4a/attachment.htm>


More information about the erlang-questions mailing list