On Mon, May 14, 2018 at 5:05 PM, Israel Hands <[email protected]> wrote:

>
> I got greedy though and added the line below
>
>
> ​​
> g.execute_shell_commands('"C:\Program Files (x86)\SumatraPDF\SumatraPDF.exe"
>  latex_test.pdf')
>
> which works but hangs Leo
>

​Use a list of arguments, not a single string:

​
g.execute_shell_commands([
    '"C:\Program Files (x86)\SumatraPDF\SumatraPDF.exe",
    'latex_test.pdf'
])

HTH.

Edward

-- 
You received this message because you are subscribed to the Google Groups 
"leo-editor" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/leo-editor.
For more options, visit https://groups.google.com/d/optout.

Reply via email to