Hi,
You guys are probably right. fork() is probably best used with console only programs. I'll look into the thread and threading modules and will will post my results for completion of this thread.
Thanks.
Found a very simple drop in that doesn't require any setup.
import thread
import shutil
thread.start_new_thread(copy2, (src, dst))
Running this with a tkinter gui running puts the copy2() function in it's own thread. Seems to exit by itself and does not block the gui. Found examples here:
https://www.tutorialspoint.com/python/py...eading.htm
Thanks again.
You guys are probably right. fork() is probably best used with console only programs. I'll look into the thread and threading modules and will will post my results for completion of this thread.
Thanks.
Found a very simple drop in that doesn't require any setup.
import thread
import shutil
thread.start_new_thread(copy2, (src, dst))
Running this with a tkinter gui running puts the copy2() function in it's own thread. Seems to exit by itself and does not block the gui. Found examples here:
https://www.tutorialspoint.com/python/py...eading.htm
Thanks again.