possible to change a script when it is running?

Posted by Daniel on Stack Overflow See other posts from Stack Overflow or by Daniel
Published on 2010-05-20T08:14:55Z Indexed on 2010/05/20 8:20 UTC
Read the original article Hit count: 138

Filed under:
|

Suppose a script has 1000 lines, and the 10 line has a command takes a long time to run and when I find it is running line 10, I find I need to change line 100, is it possible to do that without stop the script first?

We can also stop a process by using command pstop, but I don't know how to let the process to re-read the script and continue to run from where it paused.

© Stack Overflow or respective owner

Related posts about script

Related posts about pause