开发者

possible to change a script when it is running?

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 con开发者_运维问答tinue to run from where it paused.


I don't think that is possible. Scripts are usually fully loaded (read) into the memory before execution.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜