Python Forum
How to keep the process alive?
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to keep the process alive?
#1
Hi All,

I wanted to keep the process alive while opening a process using subprocess and keep firing the commands and read its output throughout the execution. which should support both python3 and python2. If any suggestions would really help.

Regards,
Maiya
Reply
#2
Please clearly explain the goal of your software.
Perhaps subprocess is not required at all.
Reply
#3
I need to write/read data to and from subprocess without closing the pipe, will close in end of the execution (process should be available entire duration)

Need to fire the command and get the output without closing the process, since process will close only in the end of the execution.
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  How to sharing object between multiple process from main process using Pipe Subrata 1 3,617 Sep-03-2019, 09:49 PM
Last Post: woooee

Forum Jump:

User Panel Messages

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