summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorAyke van Laethem <aykevanlaethem@gmail.com>2018-07-22 16:30:37 +0200
committerDamien George <damien.p.george@gmail.com>2018-08-04 15:45:23 +1000
commit0d7a0880396734c9b56b3d62d52d12c226597811 (patch)
tree9e26edbb55a8376e47eba825bf3b5aee00bce7a0 /docs
parent6572029dc0665e58c2ea7355c9e541bdf83105a4 (diff)
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
Diffstat (limited to 'docs')
0 files changed, 0 insertions, 0 deletions