From 8c77cf04328c8dd6eb938cb03fa827bf1ef2e4d1 Mon Sep 17 00:00:00 2001 From: Grazfather Date: Thu, 24 Aug 2023 20:18:08 -0400 Subject: [PATCH] gef-remote: Fix issue with remote path having a space --- gef.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gef.py b/gef.py index 5435c79e6..feb4c3114 100644 --- a/gef.py +++ b/gef.py @@ -10902,7 +10902,7 @@ def sync(self, src: str, dst: Optional[str] = None) -> bool: return True tgt.parent.mkdir(parents=True, exist_ok=True) dbg(f"[remote] downloading '{src}' -> '{tgt}'") - gdb.execute(f"remote get {src} {tgt.absolute()}") + gdb.execute(f"remote get '{src}' '{tgt.absolute()}'") return tgt.exists() def connect(self, pid: int) -> bool: