---
source: crates/ruff_linter/src/rules/flake8_bandit/mod.rs
snapshot_kind: text
---
S607.py:9:11: S607 Starting a process with a partial executable path
   |
 7 | subprocess.check_output("true")
 8 | subprocess.run("true")
 9 | os.system("true")
   |           ^^^^^^ S607
10 | os.popen("true")
11 | os.popen2("true")
   |

S607.py:10:10: S607 Starting a process with a partial executable path
   |
 8 | subprocess.run("true")
 9 | os.system("true")
10 | os.popen("true")
   |          ^^^^^^ S607
11 | os.popen2("true")
12 | os.popen3("true")
   |

S607.py:11:11: S607 Starting a process with a partial executable path
   |
 9 | os.system("true")
10 | os.popen("true")
11 | os.popen2("true")
   |           ^^^^^^ S607
12 | os.popen3("true")
13 | os.popen4("true")
   |

S607.py:12:11: S607 Starting a process with a partial executable path
   |
10 | os.popen("true")
11 | os.popen2("true")
12 | os.popen3("true")
   |           ^^^^^^ S607
13 | os.popen4("true")
14 | popen2.popen2("true")
   |

S607.py:13:11: S607 Starting a process with a partial executable path
   |
11 | os.popen2("true")
12 | os.popen3("true")
13 | os.popen4("true")
   |           ^^^^^^ S607
14 | popen2.popen2("true")
15 | popen2.popen3("true")
   |

S607.py:21:10: S607 Starting a process with a partial executable path
   |
19 | commands.getoutput("true")
20 | commands.getstatusoutput("true")
21 | os.execl("true")
   |          ^^^^^^ S607
22 | os.execle("true")
23 | os.execlp("true")
   |

S607.py:22:11: S607 Starting a process with a partial executable path
   |
20 | commands.getstatusoutput("true")
21 | os.execl("true")
22 | os.execle("true")
   |           ^^^^^^ S607
23 | os.execlp("true")
24 | os.execlpe("true")
   |

S607.py:23:11: S607 Starting a process with a partial executable path
   |
21 | os.execl("true")
22 | os.execle("true")
23 | os.execlp("true")
   |           ^^^^^^ S607
24 | os.execlpe("true")
25 | os.execv("true")
   |

S607.py:24:12: S607 Starting a process with a partial executable path
   |
22 | os.execle("true")
23 | os.execlp("true")
24 | os.execlpe("true")
   |            ^^^^^^ S607
25 | os.execv("true")
26 | os.execve("true")
   |

S607.py:25:10: S607 Starting a process with a partial executable path
   |
23 | os.execlp("true")
24 | os.execlpe("true")
25 | os.execv("true")
   |          ^^^^^^ S607
26 | os.execve("true")
27 | os.execvp("true")
   |

S607.py:26:11: S607 Starting a process with a partial executable path
   |
24 | os.execlpe("true")
25 | os.execv("true")
26 | os.execve("true")
   |           ^^^^^^ S607
27 | os.execvp("true")
28 | os.execvpe("true")
   |

S607.py:27:11: S607 Starting a process with a partial executable path
   |
25 | os.execv("true")
26 | os.execve("true")
27 | os.execvp("true")
   |           ^^^^^^ S607
28 | os.execvpe("true")
29 | os.spawnl("true")
   |

S607.py:28:12: S607 Starting a process with a partial executable path
   |
26 | os.execve("true")
27 | os.execvp("true")
28 | os.execvpe("true")
   |            ^^^^^^ S607
29 | os.spawnl("true")
30 | os.spawnle("true")
   |

S607.py:29:11: S607 Starting a process with a partial executable path
   |
27 | os.execvp("true")
28 | os.execvpe("true")
29 | os.spawnl("true")
   |           ^^^^^^ S607
30 | os.spawnle("true")
31 | os.spawnlp("true")
   |

S607.py:30:12: S607 Starting a process with a partial executable path
   |
28 | os.execvpe("true")
29 | os.spawnl("true")
30 | os.spawnle("true")
   |            ^^^^^^ S607
31 | os.spawnlp("true")
32 | os.spawnlpe("true")
   |

S607.py:31:12: S607 Starting a process with a partial executable path
   |
29 | os.spawnl("true")
30 | os.spawnle("true")
31 | os.spawnlp("true")
   |            ^^^^^^ S607
32 | os.spawnlpe("true")
33 | os.spawnv("true")
   |

S607.py:32:13: S607 Starting a process with a partial executable path
   |
30 | os.spawnle("true")
31 | os.spawnlp("true")
32 | os.spawnlpe("true")
   |             ^^^^^^ S607
33 | os.spawnv("true")
34 | os.spawnve("true")
   |

S607.py:33:11: S607 Starting a process with a partial executable path
   |
31 | os.spawnlp("true")
32 | os.spawnlpe("true")
33 | os.spawnv("true")
   |           ^^^^^^ S607
34 | os.spawnve("true")
35 | os.spawnvp("true")
   |

S607.py:34:12: S607 Starting a process with a partial executable path
   |
32 | os.spawnlpe("true")
33 | os.spawnv("true")
34 | os.spawnve("true")
   |            ^^^^^^ S607
35 | os.spawnvp("true")
36 | os.spawnvpe("true")
   |

S607.py:35:12: S607 Starting a process with a partial executable path
   |
33 | os.spawnv("true")
34 | os.spawnve("true")
35 | os.spawnvp("true")
   |            ^^^^^^ S607
36 | os.spawnvpe("true")
37 | os.startfile("true")
   |

S607.py:36:13: S607 Starting a process with a partial executable path
   |
34 | os.spawnve("true")
35 | os.spawnvp("true")
36 | os.spawnvpe("true")
   |             ^^^^^^ S607
37 | os.startfile("true")
   |

S607.py:37:14: S607 Starting a process with a partial executable path
   |
35 | os.spawnvp("true")
36 | os.spawnvpe("true")
37 | os.startfile("true")
   |              ^^^^^^ S607
38 | 
39 | # Check it does not fail for full paths.
   |
