Latest post of the previous page:
Это RegExp, если ком строка ему соответствует, то форсируется использования ComSpec (а не direct execution Far-ом).
Можно использовать переменные среды. У меня, скажем, стоит %FAR_ComspecCondition%, и есть макрос, которым можно переключать ComSpec - bash или cmd - он и устанавливает значение этой переменной. Настройки:
local comspecCondition_cmd = ""
-- Use comspec (bash) if command line contains:
-- - `\` character in the arguments part of the command line
-- - `$` not within single quotes
-- - A single character from the list `[({;<>|&` not within single or double quotes
local comspecCondition_bash = "^(?:(?:\\\"[^\\\"]*\\\"|[^\\s\"]+)\\s+.*\\\\|(?:[^']|'[^']*')*?\\$|(?:[^\\\"']|\\\"[^\\\"]*\\\"|'[^']*')*?[[({;<>|&])"