MCPcopy Create free account
hub / github.com/apache/solr / run

Function run

dev-tools/scripts/buildAndPushRelease.py:40–45  ·  view source on GitHub ↗
(command)

Source from the content-addressed store, hash-verified

38 f.close()
39
40def run(command):
41 log('\n\n%s: RUN: %s\n' % (datetime.datetime.now(), command))
42 if os.system('%s >> %s 2>&1' % (command, LOG)):
43 msg = ' FAILED: %s [see log %s]' % (command, LOG)
44 print(msg)
45 raise RuntimeError(msg)
46
47
48def runAndSendGPGPassword(command, password):

Callers 2

prepareFunction · 0.70
pushLocalFunction · 0.70

Calls 1

logFunction · 0.85

Tested by

no test coverage detected