  joako Premium join:2000-09-07 Gainesville, FL
| Locking the terminal with a shell script
Is there any way to "lock" the terminal output while a shell script runs, so that it will have exclusive access to it? I have two programs running at once, the second writes to the terminal but the first program is interfering with it. -- 09:F9:11:02:9D:74:E3:5B:D8:41:56:C5:63:56:88:C0 |
|
  Steve R.I.P. 3B2 Consultant join:2001-03-10 Tustin, CA | 1) Send a SIGSTOP to the first process so it's stopped in place, and when the second program finishes, send SIGCONT to let it pick up where it left off.
2) Why not send the output to a file, so this doesn't arise? |
|