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

import subprocess

def foo():
    pass


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

subprocess.Popen()