linux - Edit shell script while it's running -
Can you edit the shell script when running and the changes affect the running script?
I am curious about the specific case of a CST script, I have a batch that runs a set of different build flavors and runs all night. If something happens to me for the middle operation, then I want to go in and want to add additional commands or comment on people without execution.
If it is not possible, then there is any open or batch mechanism for doing this to me?
Of course I have tried to do this, but before I see whether it works or not, it will last for a few hours, and I am curious what is happening behind the scenes or No. / P>
Scripts do not work that way; The execution copy is independent of the source file that you are editing. Next time the script is run, it will be based on the most recently saved version of the source file.
To split this script into several files, and to run them individually, this will reduce performance time failure. (I.e., split batch into a taste script slip, to run each person individually to see who is causing trouble).
Comments
Post a Comment