Skip to content
Snippets Groups Projects
Commit 0d7a0880 authored by Ayke van Laethem's avatar Ayke van Laethem Committed by Damien George
Browse files

tools/pyboard: Run exec: command as a string.

The Python documentation recommends to pass the command as a string when
using Popen(..., shell=True).  This is because "sh -c <string>" is used to
execute the command and additional arguments after the command string are
passed to the shell itself (not the executing command).

https://docs.python.org/3.5/library/subprocess.html#subprocess.Popen
parent 6572029d
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment