from multiprocessing import *
from time import *
def a():
while(1):
None
b=Process(target=a)
b.start()
sleep(15)
print b.is_alive()
b.is_alive() always prints false,
could someone help me to know how to start this process'
Update : i was running the code from python IDLE , opening file in IDLE and pressing f5 ,and the code was always throwing false
but when i try to run the code from cmd > python.exe file.py , the code works fine