(arg: string)
| 30 | const child = execFile(command, args); |
| 31 | child.once("error", reject); |
| 32 | child.once("close", (code) => { |
| 33 | if (code === 0) resolve(); |
| 34 | else reject(new Error(`${command} exited with code ${code ?? "unknown"}`)); |
| 35 | }); |
| 36 | child.stdin?.end(input); |
| 37 | }); |
| 38 | } |
| 39 | |
| 40 | async function saveIptablesRules(): Promise<void> { |
no outgoing calls
no test coverage detected