TerminalShell (Linux): try supporting blackbox

Fix #707
This commit is contained in:
李通洲
2024-02-01 09:02:36 +08:00
parent 60ed822f6a
commit 128c3bfea6
2 changed files with 18 additions and 0 deletions
@@ -285,6 +285,7 @@ static pid_t getTerminalInfo(FFTerminalResult* result, pid_t pid)
ffStrEquals(name, "xonsh") || // works in Linux but not in macOS because kernel returns `Python` in this case
ffStrEquals(name, "login") ||
ffStrEquals(name, "sshd") ||
ffStrEquals(name, "flatpak-session-helper") || // #707
ffStrEndsWith(name, ".sh")
)
{