I am running a python script in bamboo. by using the below task as 'script'
C:\Users\username\AppData\Local\Programs\Python\Python37-32\python C:\Users\userna\bamboo-home\xml-data\build-dir\GP-GIT-GIT\AppName\app.py
But, it is not completing the and it is always show in progress, please see the below screen shot.

I am using a flask-python application.
Ie, Flask application could not complete the task. always running. I want to run the entire program(1. Check out source code from the Git, and run the flask program) when a new commit in Git.