新增 终止更新任务

This commit is contained in:
Suwings 2022-03-16 09:15:25 +08:00
parent 9b034d716e
commit c7a8d4e367

View File

@ -0,0 +1,23 @@
/*
Copyright (C) 2022 Suwings <Suwings@outlook.com>
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
According to the AGPL, it is forbidden to delete all copyright notices,
and if you modify the source code, you must open source the
modified source code.
(C) 2022 Suwings <Suwings@outlook.com>
/ GNU Affero
3
AGPL
https://mcsmanager.com/ 阅读用户协议,申请闭源开发授权等。
*/
import { ChildProcess } from "child_process";
export function killProcess(pid: number, process: ChildProcess) {}