Python Forum
getting a script into the background
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
getting a script into the background
#1
i have done this, before, in C. i'd like to have my script run itself in the background, with the foreground exiting back to the shell. would it be good enough to just have a copy of itself run through the multiprocessing module and have the parent just exit? should i used an intermediary child process? any general suggestions? any pre-written code?

another aspect of this is that ALL other processes for that user will be terminated soon. this could lead to strange effects Python might not be prepared to handle.
Tradition is peer pressure from dead people

What do you call someone who speaks three languages? Trilingual. Two languages? Bilingual. One language? American.
Reply


Messages In This Thread
getting a script into the background - by Skaperen - Dec-19-2019, 02:19 AM

Forum Jump:

User Panel Messages

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