We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7135372 commit 8b67476Copy full SHA for 8b67476
1 file changed
evil_winrm_py/evil_winrm_py.py
@@ -910,7 +910,9 @@ def interactive_shell(r_pool: RunspacePool) -> None:
910
if remote_path.endswith("\\"):
911
remote_path = f"{remote_path}{file_name}"
912
913
- upload_file(r_pool, str(Path(local_path).resolve()), remote_path)
+ upload_file(
914
+ r_pool, str(Path(local_path).expanduser().resolve()), remote_path
915
+ )
916
continue
917
elif command_lower.startswith("loadps"):
918
command_parts = quoted_command_split(command)
0 commit comments