| Author |
How to make a stopped process return to run?
|
|
| Bo Yang 2006-12-20, 1:39 am |
| When I use cvs to checkout the boost src.
I made a mistake inciddently to stop the cvs process.
Can I make the cvs checkout return to running?
| |
| Bo Yang 2006-12-20, 1:39 am |
| Bo Yang :
> When I use cvs to checkout the boost src.
> I made a mistake inciddently to stop the cvs process.
> Can I make the cvs checkout return to running?
Oh, I got it.
kill -s SIGCONT pid
The unix process model is very interesting.
| |
| Janis Papanagnou 2006-12-20, 7:24 am |
| Bo Yang wrote:
> Bo Yang :
>
How did you stop it?
[vbcol=seagreen]
>
> Oh, I got it.
>
> kill -s SIGCONT pid
>
> The unix process model is very interesting.
If you stopped it hitting ^Z (Ctrl-Z) with job control enabled then
you could have typed either 'fg' or 'bg' to continue the process in
the foreground resp. background.
Janis
| |
| Hubble 2006-12-20, 7:24 am |
|
Janis Papanagnou schrieb:
> Bo Yang wrote:
>
> How did you stop it?
>
>
> If you stopped it hitting ^Z (Ctrl-Z) with job control enabled then
> you could have typed either 'fg' or 'bg' to continue the process in
> the foreground resp. background.
.... which basically send <SIGCONT pid>, fg waiting, bg not waiting for
the process.
Hubble.
| |
| Janis Papanagnou 2006-12-20, 7:24 am |
| Hubble wrote:
> Janis Papanagnou schrieb:
>
>
>
>
> ... which basically send <SIGCONT pid>, fg waiting, bg not waiting for
> the process.
Yes, I know. It's just much more convenient to type two characters
than to first figure out the PID then type a bunch of characters.
Janis
>
> Hubble.
>
| |
| Hubble 2006-12-20, 7:24 am |
| Janis Papanagnou schrieb:
> Hubble wrote:
>
> Yes, I know. It's just much more convenient to type two characters
> than to first figure out the PID then type a bunch of characters.
>
I didn't doubt that you know. Just wanted to add this.
Cheers
Hubble.
|
|
|
|