我意外地在api调用上创建了一个无限循环。它失控了,我不得不关闭它控制+ C。$ python manage.py runserverValidating models...
August 08, 2013 - 12:43:41Development server is running at http://127.0.0.1:8000/
我正在尝试创建一个控制台应用程序,它以按下CTRL + BREAK或向进程发送SIGTERM信号不会终止它的方式挂起,即它保持挂起而不关闭。我想用下面的Java代码测试它是否继续运行://Replace APPLICATION PATH HERE with path towards the executable file
Process process = Runtime.getRuntime().exec("APPLICATION PATH HERE");