Skip to content

Commit 8e621be

Browse files
authored
Merge pull request #689 from mplsgrant/2025-03-let-python-do-it
let python3 run `plugin.py` instead of bash
2 parents 24b4969 + 6f642e3 commit 8e621be

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/warnet/deploy.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,7 @@ def run_plugins(directory, hook_value: HookValue, namespace, annex: Optional[dic
166166
}
167167

168168
cmd = (
169-
f"{network_file_path.parent / entrypoint_path / Path('plugin.py')} entrypoint "
169+
f"{sys.executable} {network_file_path.parent / entrypoint_path / Path('plugin.py')} entrypoint "
170170
f"'{json.dumps(plugin_content)}' '{json.dumps(warnet_content)}'"
171171
)
172172
print(

0 commit comments

Comments
 (0)