I'm trying to create a task in some testing task group (for the CI) which will execute a server (That will run in the background) and continue to the next task.
But what actually happens, is that it just gets stuck in the "run server" task.
These are the variations that I tried to start my server in the background -
1. bash -c "python3 $(Build.Repository.LocalPath)/apache_deployment/run_server.py & >/dev/null 2>&1" & >/dev/null 2>&1
2. python3 $(Build.Repository.LocalPath)/apache_deployment/run_server.py & /dev/null 2>&1 &
3. python3 $(Build.Repository.LocalPath)/apache_deployment/run_server.py & disown
How can this problem be solved?