from multiprocessing import Process
import os
def run(name):
print 'The child process \'%s\' (pid %d) is running' % (name, os.getpid())
return
print 'The parent process(pid %d) is running' % os.getpid()
p = Process(target=run, args = ('test', ))
print 'The child process is ready to run!'
p.start();
p.join();
print 'The child process ends!'
这段程序运行就会提示错误
"Attempt to start a new process before the current process
has finished its bootstrapping phase."
我这运行没有提示错误,还有,怎么文不对题,,,