• Chi Song's avatar
    Refactor: remote machine isolate OS commands phase 1 (#2376) · cf6a1de6
    Chi Song authored
    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.
    cf6a1de6
osCommands.ts 1.45 KB