summaryrefslogtreecommitdiff
path: root/tests/functional/s/subprocess_popen_preexec_fn.py
blob: e785abc76072a676ef83aa71982485ca30917cfe (plain)
1
2
3
4
5
6
7
8
9
10
11
# pylint: disable=blacklisted-name,no-value-for-parameter,missing-docstring

import subprocess

def foo():
    pass


subprocess.Popen(preexec_fn=foo) # [subprocess-popen-preexec-fn]

subprocess.Popen()