[Dev-luatex] os.spawn and argv[1] with sapces

Hans Hagen pragma at wxs.nl
Mon Nov 23 22:08:46 CET 2009

T T wrote:
> 2009/11/23 T T <t34www at googlemail.com>:
>> OK, I'm looking into that.
> After some digging through the sources and googling around I think the
> problem is not with luatex's implementation but with _spawnvpe
> function on Windows, which can't handle arguments with spaces (how
> pathetic). So I should write to M$ now, I guess. Sigh. At least there
> is a workaround with setting arg[0] explicitly, but some note to
> unwary in the documentation would be good as well.

maybe it's an option to reserve arg[0] for the (optional) path and set 
the path explicitely



                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
      tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
                                              | www.pragma-pod.nl

More information about the dev-luatex mailing list