[tex-live] pretest: texdoc problem

T T t34www at googlemail.com
Mon Jul 6 01:37:13 CEST 2009


On 05/07/2009, Manuel Pégourié-Gonnard <mpg at elzevir.fr> wrote:
> Philipp Stephani a écrit :
>> still better would be to use ShellExecute directly.
>
> What's ShellExecute?

It's Windows API equivalent of file actions in explorer (open, edit,
etc.). You won't have access to that from texlua without some extra
libraries.

The failure has something to do with how system call arguments are
handled (quotes seem to be striped off of arguments unless they
contain spaces. Try with:

  os.execute('echo start "foo" "bar baz"')

Using os.execute('start "something with a space here" "C:\mydoc.pdf"')
should fix it.

Cheers,

Tomek


More information about the tex-live mailing list