How can I close a program from a child process? For exanple:
import easygui
import multiprocessing
def func():
reply=easygui.buttonbox("start?",image="F:\project\phonber.png",choices=['yes','no'])
if reply=="yes":
exit_option()
if __name__=='__main__':
p=multiprocessing.Process(target=func,args=())
t=p.start()
while True:
None
Is there a way to execute the exit_option()
?