jamesob / desk

A lightweight workspace manager for the shell
MIT License
2.54k stars 112 forks source link

`get_running_shell` picks not-a-shell sometimes #87

Open groner opened 5 years ago

groner commented 5 years ago

Running strace desk run hello something leads to desk deciding my shell is strace, so it invokes strace -ic something. This actually runs something, but without the requested desk environment and a confusing strace warning and output.

groner commented 5 years ago

Looking for the session leader might give a better result.