File: multiline_statement.py

package info (click to toggle)
bandit 1.7.10-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 5,864 kB
  • sloc: python: 19,727; makefile: 23; sh: 14
file content (13 lines) | stat: -rw-r--r-- 282 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
import subprocess

subprocess.check_output("/some_command",
                        "args",
                        shell=True,
                        universal_newlines=True)

subprocess.check_output(
    "/some_command",
    "args",
    shell=True,
    universal_newlines=True
)