mattn / mattn/sudo

Sudo running CMD terminal, Chinese garbled code, error

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

Nobody has claimed this yet.

Dominant language
Go
Stars
748
Forks
39
PR merge metrics
No merged PRs in 30d

Description

触发条件:
sudo.exe cmd

image

sudo.exe -spawn cmd running the new CMD terminal will not cause problems, but it cannot meet the requirements

Contributor guide

No contributing guide indexed for this repository

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 reproducing the reported encoding problem with sudo.exe cmd and compare it with sudo.exe -spawn cmd, which is reported not to garble Chinese text. Done means the regular sudo.exe cmd path opens the new CMD terminal without garbled Chinese output while still meeting the reporter's requirements.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.