文件操作 - watchdog.d.ts
返回文件管理
返回主菜单
删除本文件
文件: /var/www/OLD/node_modules/foreground-child/dist/esm/watchdog.d.ts
编辑文件内容
/// <reference types="node" resolution-mode="require"/> import { ChildProcess } from 'child_process'; /** * Pass in a ChildProcess, and this will spawn a watchdog process that * will make sure it exits if the parent does, thus preventing any * dangling detached zombie processes. * * If the child ends before the parent, then the watchdog will terminate. */ export declare const watchdog: (child: ChildProcess) => ChildProcess; //# sourceMappingURL=watchdog.d.ts.map
修改文件时间
将文件时间修改为当前时间的前一年
删除文件