os:command queston

Bob Ippolito bob@REDACTED
Fri Apr 2 19:17:10 CEST 2021


The argument to os:cmd/1 should be a string.
https://erlang.org/doc/man/os.html#cmd-1

os:cmd(“pdflatex --shell-escape tex/oblivious.tex”).

On Fri, Apr 2, 2021 at 10: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/5f63f1fd/attachment.htm>


More information about the erlang-questions mailing list