summaryrefslogtreecommitdiffstats
path: root/src/live/__init__.py
diff options
context:
space:
mode:
authorJose M. Guisado <jguisado@soleta.eu>2021-11-15 12:08:43 +0100
committerJose M. Guisado <jguisado@soleta.eu>2021-11-15 13:39:42 +0100
commitab7abf96a6832a227fe2218bb191cc2d1fc73030 (patch)
tree108fecd80c757711553bc5488b4b96878fc8e12c /src/live/__init__.py
parent69d214f63b2aa8ef60489d56468393b70795124a (diff)
#1065 linux: add shell run operation
- Executed script runs with same privilege as ogClient process. - Uses subprocess.run instead of subprocess.Popen, it's a bit simpler. We can't specify executable, though. Shouldn't need so in Linux mode. - Uses shell=True, keep in mind security considerations listed at: https://docs.python.org/3/library/subprocess.html#security-considerations (shlex.quote can be used for unix shells)
Diffstat (limited to 'src/live/__init__.py')
0 files changed, 0 insertions, 0 deletions