Length of the output - sshCommand.Result
Nobody has claimed this yet.
- Dominant language
- C#
- Stars
- 4.4k
- Forks
- 993
- Avg merge
- 9d 21h
- Merged PRs (30d)
- 1
Description
Hi There,
It appears that if output in the shell is too long (above around 70 symbols) - sshCommand.Result string is cut. So row is divided into parts (the same behaviour as Windows cmd console width).
Usage is the following:
var command = sshClient.CreateCommand(cmdText);
command.Execute();
var result = command.Result
Is it possible to extent it?
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the reported behavior through sshClient.CreateCommand(cmdText), command.Execute(), and command.Result with output longer than about 70 characters. Trace how command output is collected and verify that the completed result preserves the full shell output without console-width wrapping or truncation.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- csharp
- Domain
- networking
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 38/100