microsoft / microsoft/sudo

Please add `-b` or shell job as an argument.

Open
#37 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

Description of the new feature / enhancement

The original Unix sudo command line utility supports a -b/-background option, which tells sudo to run the given command in the background.

Scenario when this would be used?

Simplify Task Delegation with Sudo's -b Option on Windows.

Example: In the routine of a system administrator, tasks like software updates and network adjustments are common. With the -b option in sudo, these tasks become more "streamlined"; easier to perform without the visual clutter. For instance, executing sudo -b winget upgrade --all allows for background updates of the system's software, eliminating the need for visual clutter and saving valuable time.

By leveraging the -b/-background option with sudo, administrators & casuals can streamline task delegation and improve efficiency in system management. It'd also be very useful to me <3

Supporting information
  • Sudo Manual -> Sudo

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

Start by reviewing the linked sudo manual section for the -b/-background option and compare it with the issue's Windows usage example. Define how a background command or shell job should be accepted and what observable behavior should confirm that the command runs without blocking the terminal.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.