1
如何關閉子進程中的程序? 對於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
是否有執行exit_option()
的方法嗎?