From 250b39bcc80f9c40e409d26f996b4ae4ed48461a Mon Sep 17 00:00:00 2001 From: Ivan Kravets Date: Wed, 1 Jun 2016 20:26:10 +0300 Subject: [PATCH] Skip grep search for serial ports on Windows machines --- platformio/util.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/platformio/util.py b/platformio/util.py index e3a02b3d..a82b3c15 100644 --- a/platformio/util.py +++ b/platformio/util.py @@ -315,7 +315,7 @@ def get_serialports(use_grep=False): result.append({"port": p, "description": d, "hwid": h}) # fix for PySerial - if not result: + if not result and "Windows" != system(): result = _grep_serial_ports() return result