
- Forum
- Operating Systems
- Linux
- Suspending a Process
Suspending a Process
This is a discussion on Suspending a Process within the Linux forums, part of the Operating Systems category; I know that it possible to suspend a process or application running in foreground. One way of doing this is ...
-
Suspending a Process
I know that it possible to suspend a process or application running in foreground. One way of doing this is by giving the below command in UNIX operating system.
$stty susp ^Z <CR>
But I am confused about whether it is possible to interrupt the process running in the background. Also I want to know if I give the above command for suspending the application in foreground from where my application will start running again. Kindly brief me on this process.
-
It is not possible to interrupt the process running in the background.
In the command you have given namely:
$stty susp ^Z <CR>
What you have done is you have mapped ^Z to indicate that foreground process is to be interuppted. That is in other words when you press ^Z your current foreground process will be temporarily suspended and the job will be restarted from where it left off by using the job number of this process.

Reply With Quote





