microsoft / microsoft/sudo

Prevent popup window from autoclosing

Open
#120 0 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Issue-Feature Needs-Triage
Dominant language
Rust
Stars
5.9k
Forks
180
Avg merge
1d 7h
Merged PRs (30d)
2

Description

Description of the new feature / enhancement

When I, for example sudo netstat -an, the new window pops up, runs netstat and immediately disappears. This is less than useful as, I'm afraid speedreading netsat output is unlikely to be productive.
Output should stop with, for example, "Press ENTER to continue"

Scenario when this would be used?

When it is necessary to actually read the output of a command :-)

Supporting information

Not sure I have anything else to add.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No file, test, or entry point is named. Start by tracing the Windows popup path used to run commands such as sudo netstat -an and identify where the new window exits after command completion. Done means the output remains available until the user presses Enter.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
cli, operating-systems
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.