On Mon, Feb 17, 2020 at 10:27:11AM +0100, Bert Huijben wrote: > I think this needs a specific implementation for Windows. The rules on Windows > are different and not really tied to some shell. > Applications receive the full commandline as string and then need to parse > them > themselves. Usually they leave this to the C library so there are some rules > that are pretty common, but there are always exceptions.
Indeed. I had hoped for more from the APR APIs. I've previously referenced https://docs.microsoft.com/en-us/archive/blogs/twistylittlepassagesallalike/everyone-quotes-command-line-arguments-the-wrong-way when I've had to recall the intricacies of escaping for Windows. > Using ';' on a path works on Windows, but is certainly not recommended. It is > the path separator used in environment variables like %PATH%. It's not recommended on *nix either. :) I've been pertty overwhelmed with work lately, which is why I haven't followed up on this until now. I'll try to get some time to work on it, but any other help would be appreciated. Cheers, -- James GPG Key: 4096R/91BF BF4D 6956 BD5D F7B7 2D23 DFE6 91AE 331B A3DB