I want to use command to launch server in python code, but main program stop here.
How to modify code to let server launch then continue my main program code.
This is my python code below.
import os
os.system('/usr/local/bin/python3.7 -m pyxtermjs')
print("Hello")
This is my console output below
serving on http://127.0.0.1:5000
* Serving Flask app "pyxtermjs.app" (lazy loading)
* Environment: production
WARNING: This is a development server. Do not use it in a production deployment.
Use a production WSGI server instead.
* Debug mode: off
WebSocket transport not available. Install eventlet or gevent and gevent-websocket for improved performance.
* Running on http://127.0.0.1:5000/ (Press CTRL+C to quit)