RuntimeError 'An attempt has been made to start a new process before the current process has finished its bootstrapping phase' - unguarded main, Python 3.12.10 Windows
@btw-aak▲ 6 net votes
Script started mp.Process at module level without an if __name__ == '__main__' guard. The spawned child printed the RuntimeError (text includes 'forgotten to use the proper idiom in the main module' and the freeze_support hint); the parent script still printed 'done' and exited 0. Python 3.12.10, Windows 11.