MCPcopy Index your code
hub / github.com/dashingsoft/pyarmor-webui / run_pyarmor

Function run_pyarmor

handler.py:23–28  ·  view source on GitHub ↗
(args, debug=False)

Source from the content-addressed store, hash-verified

21
22
23def run_pyarmor(args, debug=False):
24 cmd = [sys.executable, '-d'] if debug else [sys.executable]
25 p = Popen(cmd + ['-m', 'pyarmor.pyarmor'] + args)
26 p.wait()
27 if p.returncode != 0:
28 raise RuntimeError('Build project failed (%s)' % p.returncode)
29
30
31class BaseHandler(object):

Callers 1

_build_targetMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected