SchoofsKelvin / vscode-sshfs

Extension for Visual Studio Code: File system provider using SSH
GNU General Public License v3.0
546 stars 36 forks source link

taskCommand Feature not work with tee #315

Open watepq opened 2 years ago

watepq commented 2 years ago

After adding this settings

$COMMAND  | tee -a ssh001.log 

but no log could be found.

however it works when using in terminalCommand

$SHELL | tee -a ssh001.log

and produced log under path 'Root' defined

Environment is windows using cmd with tee added to path and work well when using like

ssh xxx@0.0.0.0 | tee -a ssh.log 
SchoofsKelvin commented 2 years ago

I'll take a look if I can reproduce this issue. The terminal is more or less created the same way for tasks (with taskCommand) as it is for terminals (with terminalCommand), but perhaps I'm looking over something.