Skip to content

🎥 Make videos programmatically with React

227 B
Raw Blame
import type {SpawnOptionsWithoutStdio} from 'node:child_process';

export const getPackageManagerSpawnOptions = (): Pick<
	SpawnOptionsWithoutStdio,
	'shell'
> => {
	return process.platform === 'win32' ? {shell: true} : {};
};