Danil, thanks, committed in r124945 with minor modifications. For MSYS bash shell, '-foo' (includes single quotes) would be needed to quote. Checked with lit for Python-w32, on gnuwin32 and msys.