阅读背景:

如何使用bash脚本结束django进程?

来源:互联网 

I wrote a bash script to start a django process, however, I want to be able to end the django process while it's running with a bash script as well. I'm writing a web app for Koding.com that starts a django process in an online terminal linked to the user's personal VM by running a bash script with a press of a button, and I want users to be able to end the process with a press of a button as well. I know that control C would end the process, but I haven't been able to find out how to do that in a bash script. How could I go about doing this? Thanks!I wrote a bash script to start a django process




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: