[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Chicken-hackers] [PATCH] Fix for Windows quoting issues (fixes #151
From: |
felix . winkelmann |
Subject: |
Re: [Chicken-hackers] [PATCH] Fix for Windows quoting issues (fixes #1515) |
Date: |
Sat, 01 Sep 2018 22:01:47 +0200 |
> After fixing all the quoting issues, I finally ran into this weirdness
> when running the tests:
> https://stackoverflow.com/questions/9964865/c-system-not-working-when-there-are-spaces-in-two-different-parameters#9965141
>
> Note that this only holds for system(), it does not seem to be necessary
> in batch files.
>
> I can't quite find the words to express how I felt about this when I
> read it. Just Windows being Windows, as usual, I guess...
We already ran into this: if the first arg (the command) is quoted, you have
to quote the whole command line once more. I thought this was already
implemented (csc always handles this case, IIRC).
felix