Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

python spawn process

from multiprocessing import Process

def f(name):
    print('hello', name)

if __name__ == '__main__':
    p = Process(target=f, args=('bob',))
    p.start()
    p.join()
 
PREVIOUS NEXT
Tagged: #python #spawn #process
ADD COMMENT
Topic
Name
9+1 =