MCPcopy Create free account
hub / github.com/apache/qpid-proton / Popen

Class Popen

python/examples/test_examples.py:26–39  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

24
25
26class Popen(subprocess.Popen):
27
28 # We always use these options
29 def __init__(self, args, **kwargs):
30 # Add the module directory to the path to be able to find the examples
31 path = f"{os.path.dirname(__file__)}{os.pathsep}{os.environ['PATH']}"
32 super(Popen, self).\
33 __init__(args,
34 shell=False,
35 stderr=subprocess.STDOUT,
36 stdout=subprocess.PIPE,
37 universal_newlines=True,
38 env={'PATH': path},
39 **kwargs)
40
41
42# Like subprocess.run with our defaults but returning the Popen object

Callers 6

runFunction · 0.70
test_simple_send_recvMethod · 0.70
test_client_serverMethod · 0.70
test_db_send_recvMethod · 0.70

Calls

no outgoing calls

Tested by 6

runFunction · 0.56
test_simple_send_recvMethod · 0.56
test_client_serverMethod · 0.56
test_db_send_recvMethod · 0.56