Script execution

This commit is contained in:
2022-08-23 14:45:32 +02:00
parent 569de2c553
commit eaf67c04d7

View File

@@ -4,6 +4,7 @@ def f(name):
print('hello', name)
p = Process(target=f, args=('bob',))
p.start()
p.join()
if __name__ == '__main__':
p = Process(target=f, args=('bob',))
p.start()
p.join()