Jayich-Lab / tray-launcher

A launcher for Windows that resides in the taskbar for managing .bat scripts.
MIT License
7 stars 1 forks source link

Reattach processes started by the tray launcher when restarted #68

Closed danhuaxu closed 2 years ago

danhuaxu commented 2 years ago

Addressing issue #67.

  1. Tray launcher is now able to reattach processes started by it after the tray launcher itself is restarted.
  2. If the process is removed when tray launcher is offline, this process will not show up when the tray launcher restarts.
  3. Uses creation time to distinguish processes with the same pid. (Not tested because I don't know how to create a process with a given pid)

This PR also fixes issue #32.

Samuel-Gebe commented 2 years ago

@danhuaxu I left some comments. Let me know if you have any questions.

danhuaxu commented 2 years ago

@Samuel-Gebe Added some more docstrings. Let me know if they make more sense now.

danhuaxu commented 2 years ago

I will update to PyPi later.