Anonymous user
Fork: Difference between revisions
no edit summary
No edit summary |
|||
Line 35:
exit(0);
}
==[[Python]]==
[[Category:Python]]
'''Interpreter:''' [[Python]] 2.5
import os
pid = os.fork()
if pid > 0:
# parent code
else:
# child code
|