mirror of
https://github.com/platformio/platformio-core.git
synced 2025-07-30 10:07:14 +02:00
Suppress IOError
This commit is contained in:
@ -417,8 +417,11 @@ class PlatformRunMixin(object):
|
|||||||
cmd.append("%s=%s" % (key.upper(), self.encode_scons_arg(value)))
|
cmd.append("%s=%s" % (key.upper(), self.encode_scons_arg(value)))
|
||||||
|
|
||||||
def _write_and_flush(stream, data):
|
def _write_and_flush(stream, data):
|
||||||
stream.write(data)
|
try:
|
||||||
stream.flush()
|
stream.write(data)
|
||||||
|
stream.flush()
|
||||||
|
except IOError:
|
||||||
|
pass
|
||||||
|
|
||||||
copy_pythonpath_to_osenv()
|
copy_pythonpath_to_osenv()
|
||||||
result = exec_command(
|
result = exec_command(
|
||||||
|
Reference in New Issue
Block a user