Kill process.exec function

I have a function to execute a process:

static async runTest() { await process.exec(`start ${currentDir}/forward.py`); }

runTest();

The python script will continue to run until it’s killed, which I don’t know how to do at the moment. So in short, I want to kill this process manually at some point. How I would I do this? Thank you!