multiprocessing in an interactive window in VS code on Mac created strange behavior due to continuously rerunning code. This can be fixed by setting the start method of mp to 'fork' (default is 'spawn'). I added a note in the tutorial explaining how to fix this if you run into this specific issue. Given that the 'spawn' method will become the mp default across platforms, I assume this will be fixed at some point in VS code, which is why I didn't adjust anything in HMP code base.
multiprocessing in an interactive window in VS code on Mac created strange behavior due to continuously rerunning code. This can be fixed by setting the start method of mp to 'fork' (default is 'spawn'). I added a note in the tutorial explaining how to fix this if you run into this specific issue. Given that the 'spawn' method will become the mp default across platforms, I assume this will be fixed at some point in VS code, which is why I didn't adjust anything in HMP code base.