Open ofek opened 1 month ago
I noticed it sends a shell script that is temporarily saved so I captured it:
import shutil
from pathlib import Path
from tempfile import gettempdir
from time import sleep
def main():
temp_dir = Path(gettempdir())
while True:
for entry in temp_dir.iterdir():
if entry.stem.startswith('vscode-linux-multi-line-command-localhost-'):
shutil.copy2(entry, Path.home() / 'Desktop')
return
sleep(0.1)
Here are the contents:
Indeed, there is an explicit check for the exact commit (and therefore directory structure) of the VS Code instance running on the host. Is there a way to install ahead of time? I was under the assumption that this was supported.
@hediet Do you have any idea why this might be happening?
I still can't get this to work.
while true; do sleep 180; printf ' '; done
Aha, that's what's been polluting my servers with leftover do-nothing shell processes! Any way to turn that off?
Steps to Reproduce:
Finally open in VS Code and notice that the server is still downloaded, appearing to always look for the commit from what you run locally:
Here is the output: