Re: ITS A COMPUTER QUESTION
Lane W <[email protected]>
| Newsgroups | alt.checkmate |
|---|---|
| Organization | A noiseless patient Spider |
| Message-ID | <[email protected]> |
Doc Hammerslack wrote: > At Tue, 11 Aug 2026 19:48:38 +0000, Tom Mix <[email protected]> wrote: > >> In article <[email protected]>, % <[email protected]> wrote: >> >>> . >>> >>> when you want something to stop doing something how do you stop it >> >> ctrl-c, kill -9 pid, pkill > > Those won't just stop the process, but will terminate it. > > To _stop_ a process, you send it SIGSTOP. If it's the foregrounded > process, usually you can hit the stop character, ctrl-z. If it's a Python process and you want to stop it, then ctrl-D is optimal. This sends the program the right messages and a well-written Python program can handle these cases well.