MCPcopy Create free account
hub / github.com/ARMmbed/mbed-cli / popen

Function popen

test/util.py:29–34  ·  view source on GitHub ↗
(command, stdin=None, **kwargs)

Source from the content-addressed store, hash-verified

27 pass
28
29def popen(command, stdin=None, **kwargs):
30 print(' '.join(command))
31 proc = subprocess.Popen(command, **kwargs)
32
33 if proc.wait() != 0:
34 raise ProcessException(proc.returncode)
35
36def pquery(command, stdin=None, **kwargs):
37 print(' '.join(command))

Callers 13

test_importFunction · 0.70
test_removeFunction · 0.70
test_import_after_removeFunction · 0.70
test_sync_updateFunction · 0.70
test_sync_update_removeFunction · 0.70
test_sync_update_addFunction · 0.70
test_sync_update_moveFunction · 0.70
mkgitFunction · 0.70
mkhgFunction · 0.70
mkcommitFunction · 0.70
testreposFunction · 0.70
test_addFunction · 0.70

Calls 1

ProcessExceptionClass · 0.70

Tested by 9

test_importFunction · 0.56
test_removeFunction · 0.56
test_import_after_removeFunction · 0.56
test_sync_updateFunction · 0.56
test_sync_update_removeFunction · 0.56
test_sync_update_addFunction · 0.56
test_sync_update_moveFunction · 0.56
test_addFunction · 0.56
test_import_after_addFunction · 0.56