mirror of
https://github.com/whyour/qinglong.git
synced 2026-12-01 01:39:52 +08:00
替换 spawn 为 cross-spawn
This commit is contained in:
1 parent
0bbb7c7b89
commit
a7f97bd729
7 files changed
+21
-9
No files matched your search
@@ -1,7 +1,7 @@
|
||||
import { Service, Inject } from 'typedi';
|
||||
import winston from 'winston';
|
||||
import nodeSchedule from 'node-schedule';
|
||||
import { ChildProcessWithoutNullStreams, exec, spawn } from 'child_process';
|
||||
import { ChildProcessWithoutNullStreams } from 'child_process';
|
||||
import {
|
||||
ToadScheduler,
|
||||
LongIntervalJob,
|
||||
@@ -10,6 +10,7 @@ import {
|
||||
} from 'toad-scheduler';
|
||||
import dayjs from 'dayjs';
|
||||
import { runCronWithLimit } from '../shared/pLimit';
|
||||
import { spawn } from 'cross-spawn';
|
||||
|
||||
interface ScheduleTaskType {
|
||||
id: number;
|
||||
|
||||
Reference in new issue
Block a user