MCPcopy Create free account
hub / github.com/MCSLTeam/MCSL2 / main

Function main

deploy.py:87–100  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

85
86
87def main() -> int:
88 command = build_args(sys.argv[1:])
89 print(" ".join(command), flush=True)
90
91 process = subprocess.Popen(command)
92 try:
93 while True:
94 try:
95 return process.wait(timeout=KEEPALIVE_INTERVAL_SECONDS)
96 except subprocess.TimeoutExpired:
97 print("Still running Nuitka build...", flush=True)
98 except KeyboardInterrupt:
99 process.terminate()
100 raise
101
102
103if __name__ == "__main__":

Callers 1

deploy.pyFile · 0.85

Calls 1

build_argsFunction · 0.85

Tested by

no test coverage detected