Skip to content

Commit 6f642e3

Browse files
committed
use sys.executable
1 parent 24336f1 commit 6f642e3

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"python3 {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)