i am running python script using command prompt in c #.
Process.Start("CMD.exe", "\K Script.py");
but i want to stop the execution of python code when i press stop button. in various websites i come to know to use Process.Kill() command but it is not working in my case. please help me out. how i stop the execution of python code from C# Window form application

Sankara Krishnan VenugopalRank #833 · 2.7K reputationPosted May 12, 2018, 9:03 AM EDT