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: