[IPython-user] Killing a hung program
Fernando.Perez at colorado.edu
Thu Jun 16 15:27:29 CDT 2005
Ville Vainio wrote:
>>I suppose an ipython-integrated-with-gui could be even more useful in
>>this regard, having another window for all the jobs with the
>>"completed" indicator and the possibility to kill etc. could be
> Sorry for being too hasty w/ the posting, just had another idea: why
> not always write the process id of the most recently launched process
> in a file, and remove it from the file after completion? Then we could
> just have a little script "ipykill", that one could have on the
> desktop as shortcut...
> I suppose it could be done cleanly if the newfangled "hooks" system
> could be utilized to provide job_started and job_finished hooks, with
> an argument telling that it was a "foreground", modal job.
> Just an idea. I occasionally have problems with tasks that require me
> to start a new ipython session as well. I also realize that it might
> be too much work at this point.
Not a bad idea at all. I'm cc'ing the list for archival purposes.
I'm unfortunately swamped beyond recovery right now, but I want this at
least indexed in, so it doesn't get forgotten.
More information about the IPython-user