From faa33fb1af3f5b424b997e2d636e876e6bf63d23 Mon Sep 17 00:00:00 2001 From: Ivan Kravets Date: Tue, 10 Mar 2015 22:08:41 +0200 Subject: [PATCH] Avoid PlatformIO "prompts" for SmartAnthill Cloud Compiler // Resolve #3 --- smartanthill/cc/compiler.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/smartanthill/cc/compiler.py b/smartanthill/cc/compiler.py index 77f4754..3c73ace 100644 --- a/smartanthill/cc/compiler.py +++ b/smartanthill/cc/compiler.py @@ -66,8 +66,9 @@ def append_define(self, name, value=None): def run(self): newenvs = dict( - PIOENVS_DIR=self.pioenvs_dir, - PIOSRCBUILD_FLAGS=self._get_srcbuild_flags() + PLATFORMIO_SETTING_ENABLE_PROMPTS="false", + PLATFORMIO_ENVS_DIR=self.pioenvs_dir, + PLATFORMIO_SRCBUILD_FLAGS=self._get_srcbuild_flags() ) output = utils.getProcessOutput(