Python Forum
How to fork a process, kill the child and not kill the parent?
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to fork a process, kill the child and not kill the parent?
#3
I'd be wary about forking in a GUI application. Like micseydel says, a thread is a much better bet. Just use a callback or something in the thread so that you can notify the GUI when the copy completes.
Running Manjaro Linux 16.08/OpenRC/i3wm on a Dell Precision 5510.

John 3:17
Reply


Messages In This Thread
RE: How to fork a process, kill the child and not kill the parent? - by pydsigner - Mar-04-2017, 06:26 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Ho can I get the first parent of a class? panoss 2 3,705 Jan-10-2017, 08:10 AM
Last Post: panoss

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020