You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Tracer for some reason suggests that I should restart the session to deal with updated nano.
* nano
Package: nano
Description: A small text editor
Type: Session
State: nano has been started by jkadlcik 33 seconds ago. PID - 5301
Affected by:
nano
/usr/bin/nano
How to restart:
You will have to log out & log in again
The text was updated successfully, but these errors were encountered:
It looks like this is caused by the way tracer is detecting sessions. To decide if a process is a session, tracer checks to see if Process.terminal() returns a value. Unfortunately, that's not what Process.terminal() does; if the process is attached to a terminal, it returns the path to the terminal. As a result, anything attached to a terminal will be interpreted as being a session. One potential solution to this would be to do something like this:
With this change, a process is a session if it has a terminal attached and either has no parent or its parent has a different terminal attached. This isn't foolproof logic, but seems better than what is currently implemented.
Tracer for some reason suggests that I should restart the session to deal with updated nano.
The text was updated successfully, but these errors were encountered: