This commit is contained in:
shenjack 2024-05-09 00:35:16 +08:00
parent 62791962c2
commit e1851377d9
Signed by: shenjack
GPG Key ID: 7B1134A979775551

View File

@ -43,7 +43,7 @@ def on_ica_message(msg: IcaNewMessage, client: IcaClient) -> None:
with open(root_path / "md5" / "input.txt", "w") as f: with open(root_path / "md5" / "input.txt", "w") as f:
f.write(names) f.write(names)
# 执行 node md5.js # 执行 node md5.js
runner_path = root_path / "md5" / "runs.ts" runner_path = root_path / "md5" / "runs.mts"
input_path = root_path / "md5" / "input.txt" input_path = root_path / "md5" / "input.txt"
result = subprocess.run( result = subprocess.run(
["node", runner_path.absolute(), input_path.absolute()], ["node", runner_path.absolute(), input_path.absolute()],