Remove safeSpawnSync (unused)

This commit is contained in:
Hans Ott 2025-10-09 16:44:55 +02:00
parent 662b26a2d5
commit 0afea0eed6
2 changed files with 4 additions and 14 deletions

View file

@ -13,11 +13,6 @@ function buildCommand(command, args) {
return `${command} ${escapedArgs.join(" ")}`;
}
export function safeSpawnSync(command, args, options = {}) {
const fullCommand = buildCommand(command, args);
return spawnSync(fullCommand, { ...options, shell: true });
}
export async function safeSpawn(command, args, options = {}) {
const fullCommand = buildCommand(command, args);
return new Promise((resolve, reject) => {