Sending multiple commands in one session
Nobody has claimed this yet.
- Dominant language
- C#
- Stars
- 4.4k
- Forks
- 993
- Avg merge
- 9d 21h
- Merged PRs (30d)
- 1
Description
Hi there,
I am trying to send multiple commands like
"ls"
"cd /to/some/path"
"ls"
but in the same session. I know of ShellStream, but I need the result code and result string of each command executed.
Is there a (simple) way for this?
Thanks
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
The issue names ShellStream and the SSH.NET session/command APIs but no source files or tests. Start by reviewing how SSH.NET executes commands and exposes exit codes and output, then define how multiple commands in one session should report each result. Done requires an agreed API or documented supported approach, with tests for command ordering and per-command results.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- csharp
- Domain
- networking
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 20/100