from multiprocessing import Process
import os
def run_proc(name):
print('run child process %s (%s)...' % (name, os.getpid()))
if __name__=='__main__':
print('parent process %s:' % os.getpid())
p=Process(target=run_proc, args=('test',))
print('child process will start..')
p.start()
p.join()
print('child process ends.')
# your code goes here
ZnJvbSBtdWx0aXByb2Nlc3NpbmcgaW1wb3J0IFByb2Nlc3MKaW1wb3J0IG9zCgpkZWYgcnVuX3Byb2MobmFtZSk6CiAgICBwcmludCgncnVuIGNoaWxkIHByb2Nlc3MgJXMgKCVzKS4uLicgJSAobmFtZSwgb3MuZ2V0cGlkKCkpKQoKaWYgX19uYW1lX189PSdfX21haW5fXyc6CiAgICBwcmludCgncGFyZW50IHByb2Nlc3MgJXM6JyAlIG9zLmdldHBpZCgpKQogICAgcD1Qcm9jZXNzKHRhcmdldD1ydW5fcHJvYywgYXJncz0oJ3Rlc3QnLCkpCiAgICBwcmludCgnY2hpbGQgcHJvY2VzcyB3aWxsIHN0YXJ0Li4nKQogICAgcC5zdGFydCgpCiAgICBwLmpvaW4oKQogICAgcHJpbnQoJ2NoaWxkIHByb2Nlc3MgZW5kcy4nKQogICAgIyB5b3VyIGNvZGUgZ29lcyBoZXJl