示例#1
0
 def run_server_thread():
     main(['buildpal', 'server', '--port={}'.format(SRV_PORT), '--silent'], terminator)
示例#2
0
 def run_manager_thread():
     main(['buildpal', 'manager', '--ui=none', '--ini={}'.format(ini_file),
         '--port={}'.format(MGR_PORT), '--profile', 'test'], terminator)
示例#3
0
import sys

if __name__ == "__main__":
    from buildpal.__main__ import main

    result = main(sys.argv)
    if result:
        sys.exit(result)