0

I am running a Django server from my run configuration which translates to:

python manage.py runserver --noreload

The stop button in the error panel doesn't kill the process, so I usually run

pskill python

How do I add this to my Eclipse run configurations?

user1438003
  • 6,603
  • 8
  • 30
  • 36

1 Answers1

0

My solution was to create a python file named "pskill.py" containing:

from subprocess import call
from sys import argv

if __name__=='__main__':
    call(['pskill', argv[1]])

And add it under "Python Run" in Run Configurations.

user1438003
  • 6,603
  • 8
  • 30
  • 36