diff --git a/monkey/monkey_island/cc/services/run_local_monkey.py b/monkey/monkey_island/cc/services/run_local_monkey.py index 6059ceb71..be08352e8 100644 --- a/monkey/monkey_island/cc/services/run_local_monkey.py +++ b/monkey/monkey_island/cc/services/run_local_monkey.py @@ -47,7 +47,7 @@ class LocalMonkeyRunService: ip = local_ip_addresses()[0] port = ISLAND_PORT - args = [dest_path, "m0nk3y", "-s", f"{ip}:{port}"] + args = [str(dest_path), "m0nk3y", "-s", f"{ip}:{port}"] subprocess.Popen(args, cwd=LocalMonkeyRunService.DATA_DIR) except Exception as exc: logger.error("popen failed", exc_info=True)