Torquil Macdonald Sørensen wrote:
Hello, when Bash executes scripts it does not read the next line until the command on the current line finishes. This means that problems arise if one edits the script while it runs.

Is it possible (in a simple way) to tell Bash to read the entire script and then execute it from memory instead, so that I can edit the script without affecting a running instance?

Best regards,
Torquil Sørensen



Why not just make a copy of the script and use that instead? ie.
cp scipt.sh ~/development/script.sh
vim ~/development/script.sh


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to