Python for Unity - Running python alongside unity

Python for Unity: 4.0.0-pre.1

MacOS: 11.5.2

Unity: 2021.2.5f1

Python: 3.9.6

I have a python script which runs indefinitely, communicating with unity via TCP.
Launching the script once is all i need but executing
Runs the python script but unity does not run with it. Only after I quit python, does unity run.
Is there a way to avoid this?

EDIT: I want to package this so that when the user launches the game, the python script gets executed automatically. If the user does not have python installed on their machine, executing the python script with shell script does not work. Since PythonRunner executes the script with the interpreter provided in the Library folder, using it will avoid that specific issue.

Have you tested running the python script from terminal instead of using PythonRunner class