[llvm] [lit] Are all RUN lines skipped in windows cmd? (PR #65242)

Martin Storsjö via llvm-commits llvm-commits at lists.llvm.org
Mon Sep 4 00:47:12 PDT 2023


mstorsjo wrote:

> > I would like to understand whether windows `cmd` as a lit external shell is worthwhile to support anymore.
> 
> We probably should, purely on the basis that people who develop on Windows might be using this setup. That being said, I'm fairly confident that Windows users by default use the internal shell. I have not verified that though.

FWIW, I'm not a regular Windows user, I only run it in VMs and similar for testing things, but whenever I do and want to test things in a native Windows environment (as opposed to running in msys2 bash or similar), I do it with cmd. I've never really gotten familiar with powershell.

And whenever tools like python etc, programmatically execute some command string in a way that it is parsed by a shell, that shell is cmd, not powershell afaik.

https://github.com/llvm/llvm-project/pull/65242


More information about the llvm-commits mailing list