I tried to run this command by os.system, this command should run a virtual environment first then, it will run the Django server:
import os
os.system('''
.\\match_pyinstaller\match_project\\venv\\Scripts\\activate
python .\match_pyinstaller\match_project\manage.py runserver
''')
what is happening is that the command runs with no error raised "Process finished with exit code 0"
to ensure that the command works properly, I removed the first line that refers to Venv and tried to run the command again and it traced back by "No Module Name ...." which means that it works fine however, the server doesn't open so, why?