`get_running_shell` picks not-a-shell sometimes
Open
- Dominant language
- Shell
- Stars
- 2.6k
- Forks
- 113
- PR merge metrics
- No merged PRs in 30d
Description
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.
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by reproducing the issue with `strace desk run hello something` and tracing the `get_running_shell` entry point. Determine why `strace` is accepted as the shell, then verify that the command runs with the requested desk environment rather than invoking `strace` on `something`.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- shell
- Domain
- cli
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100