mirror of
https://github.com/immich-app/immich.git
synced 2026-03-04 09:57:33 +03:00
10 lines
363 B
TypeScript
10 lines
363 B
TypeScript
import { Injectable } from '@nestjs/common';
|
|
import { ChildProcessWithoutNullStreams, spawn, SpawnOptionsWithoutStdio } from 'node:child_process';
|
|
|
|
@Injectable()
|
|
export class ProcessRepository {
|
|
spawn(command: string, args: readonly string[], options?: SpawnOptionsWithoutStdio): ChildProcessWithoutNullStreams {
|
|
return spawn(command, args, options);
|
|
}
|
|
}
|