During the execution of my script I need to write a big file to disk to store partial calculations. This file is quite big and it is not needed for the rest of the script. At the moment I need to wait for the writing to finish before I can continue the execution of the script.
Is there a way to write the file in background? Something like launching a separate process for writing while the rest of the script continues undisturbed?