替换 spawn 为 cross-spawn

This commit is contained in:
whyour
2023-05-31 14:25:20 +08:00
parent 0bbb7c7b89
commit a7f97bd729
7 changed files with 21 additions and 9 deletions
+1 -1
View File
@@ -6,7 +6,7 @@ import { AuthDataType, AuthInfo, AuthModel, LoginStatus } from '../data/auth';
import { NotificationInfo } from '../data/notify';
import NotificationService from './notify';
import ScheduleService, { TaskCallbacks } from './schedule';
import { spawn } from 'child_process';
import { spawn } from 'cross-spawn';
import SockService from './sock';
import got from 'got';
import {