how to run python script with os.fork on windows?
问题 os.fork() command is not supported under windows, and gives the following error: AttributeError: 'module' object has no attribute 'fork' So the general question is How to run a script that contain a call to os.fork() under Windows? . I don't mind using something that only mocks up the behavior and runs much slower, it's only for testing. I also prefer not to change the script as it is a 3rd party module. To give you a wider perspective, I'm trying to use the module rq a.k.a redis queue on