MCPcopy Create free account
hub / github.com/FastLED/FastLED / should_use_cmd_runner

Function should_use_cmd_runner

ci/util/windows_cmd_runner.py:40–46  ·  view source on GitHub ↗

Determine if CMD runner should be used for PlatformIO commands. Returns: True if running in Git Bash on Windows, False otherwise

()

Source from the content-addressed store, hash-verified

38
39
40def should_use_cmd_runner() -> bool:
41 """Determine if CMD runner should be used for PlatformIO commands.
42
43 Returns:
44 True if running in Git Bash on Windows, False otherwise
45 """
46 return is_git_bash()
47
48
49def get_clean_windows_env() -> dict[str, str]:

Callers 3

get_pio_execution_envFunction · 0.90
create_pio_processFunction · 0.90
run_pio_commandFunction · 0.90

Calls 1

is_git_bashFunction · 0.85

Tested by

no test coverage detected