os:command queston

kuna.prime kuna.prime@REDACTED
Fri Apr 2 19:17:06 CEST 2021


Hi,
I would assume you want to use os:cmd/1 function as os:command does not exist, and also shell command needs to be in quotes/string: os:cmd("pdflatex --shell-escape tex/oblivious.tex").

‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐
On Friday, April 2, 2021 7:05 PM, 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/4aa5327e/attachment.htm>


More information about the erlang-questions mailing list