On Fr, 08 Feb 2008, Taco Hoekwater wrote:
Attached a version that does indeed allow that. If you alter the table so that your debug output looks like this, hopefully that will give you a proper perl call:
DEBUG: 0 C:/tl test/2008/tlpkg/tlperl/bin/perl.exe DEBUG: 1 "C:/tl test/2008/tlpkg/tlperl/bin/perl.exe" DEBUG: 2 "c:/tl test/2008/texmf/scripts/texlive/generate-updmap.pl"
Ok, it was 1, 2, 0 (from the order) but it did work!!! Thanks a lot!
How can this be done simply in lua?
command = { a, b, c}
does put it into 1, 2, 3 I assume. Anyway, After doing that I added
command[0] = perlbin
Thanks. Will this be included in the next snapshot?
Best wishes
Norbert
-------------------------------------------------------------------------------
Dr. Norbert Preining
Norbert Preining wrote:
On Fr, 08 Feb 2008, Taco Hoekwater wrote:
Attached a version that does indeed allow that. If you alter the table so that your debug output looks like this, hopefully that will give you a proper perl call:
DEBUG: 0 C:/tl test/2008/tlpkg/tlperl/bin/perl.exe DEBUG: 1 "C:/tl test/2008/tlpkg/tlperl/bin/perl.exe" DEBUG: 2 "c:/tl test/2008/texmf/scripts/texlive/generate-updmap.pl"
Ok, it was 1, 2, 0 (from the order) but it did work!!! Thanks a lot!
How can this be done simply in lua? command = { a, b, c} does put it into 1, 2, 3 I assume. Anyway, After doing that I added command[0] = perlbin
Something like command = { a, b, c, [0] = perlbin} will work also.
Thanks. Will this be included in the next snapshot?
yes. Best wishes, Taco
Hi Taco, one more question ... (sorry for being so annoying) On Fr, 08 Feb 2008, Norbert Preining wrote:
On Fr, 08 Feb 2008, Taco Hoekwater wrote:
Attached a version that does indeed allow that. If you alter the table so that your debug output looks like this, hopefully that will give you a proper perl call:
DEBUG: 0 C:/tl test/2008/tlpkg/tlperl/bin/perl.exe DEBUG: 1 "C:/tl test/2008/tlpkg/tlperl/bin/perl.exe" DEBUG: 2 "c:/tl test/2008/texmf/scripts/texlive/generate-updmap.pl"
Ok, it was 1, 2, 0 (from the order) but it did work!!! Thanks a lot!
I guess we have to live with the fact that the quoting has to be done
ONLY for windows, because when I do
command = { '"'..perlbin..'"', '"'..script..'"'}
command[0] = perlbin
then it works on win32, but on unix I get:
cannot find script ""...""
(mind the double quotes.
Well, I can live with it, it is just a pain ;-)
Best wishes
Norbert
-------------------------------------------------------------------------------
Dr. Norbert Preining
Norbert Preining wrote:
Hi Taco,
one more question ... (sorry for being so annoying)
On Fr, 08 Feb 2008, Norbert Preining wrote:
On Fr, 08 Feb 2008, Taco Hoekwater wrote:
Attached a version that does indeed allow that. If you alter the table so that your debug output looks like this, hopefully that will give you a proper perl call:
DEBUG: 0 C:/tl test/2008/tlpkg/tlperl/bin/perl.exe DEBUG: 1 "C:/tl test/2008/tlpkg/tlperl/bin/perl.exe" DEBUG: 2 "c:/tl test/2008/texmf/scripts/texlive/generate-updmap.pl" Ok, it was 1, 2, 0 (from the order) but it did work!!! Thanks a lot!
I guess we have to live with the fact that the quoting has to be done ONLY for windows, because when I do command = { '"'..perlbin..'"', '"'..script..'"'} command[0] = perlbin then it works on win32, but on unix I get: cannot find script ""..."" (mind the double quotes.
Well, I can live with it, it is just a pain ;-)
That's life. In fact, it is even possible that windows will balk at the quotes too, in the case that there is _no_ space in the argument proper. I remember when all this started, Hans already said that just having a table instead of a string does not solve the portability problems. He was quite right. Best wishes, Taco
On Fr, 08 Feb 2008, Taco Hoekwater wrote:
I remember when all this started, Hans already said that just having a table instead of a string does not solve the portability problems. He was quite right.
Oh yes ... portability is a bit a pain ;-)
Thanks for all your support and prompt help!
Best wishes
Norbert
-------------------------------------------------------------------------------
Dr. Norbert Preining
participants (2)
-
Norbert Preining
-
Taco Hoekwater