Skip to content
Snippets Groups Projects
Commit 6c746f02 authored by Severin Landwein's avatar Severin Landwein
Browse files

.

parent 1086c1a5
Branches
No related tags found
No related merge requests found
Checking pipeline status
...@@ -8,7 +8,8 @@ import logging ...@@ -8,7 +8,8 @@ import logging
def main(): def main():
command = 'arduino-cli monitor -p /dev/ttyUSB0' command = 'arduino-cli monitor -p /dev/ttyUSB0'
process = subprocess.run(command.split, stdout=subprocess.PIPE) process = subprocess.run(command, stdout=subprocess.PIPE)
log.error(process.stdout.decode('utf-8'))
if process.returncode: if process.returncode:
log.error(process.stdout.decode('utf-8')) log.error(process.stdout.decode('utf-8'))
sys.exit(process.returncode) sys.exit(process.returncode)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment