Refactor: remote machine isolate OS commands phase 1 (#2376)
To support Windows node in remote mode, this PR adds a layer of commands (osCommands) to deal difference between Windows and Unix-like OS. To share code, ShellExecutor is added to enrich original SshClient class. I will implement windows version commands in next phase. This pattern can be expanded to Local or other platform in future, so I moved related code to common folder for sharing.
Showing
This diff is collapsed.
Please register or sign in to comment