Skip to content
This repository was archived by the owner on Mar 1, 2026. It is now read-only.

Commit e8717e4

Browse files
authored
fix(cli): properly quote prisma exec path (#624)
fixes #609
1 parent 84d1e60 commit e8717e4

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

packages/cli/src/utils/exec-utils.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,5 +57,5 @@ export function execPrisma(args: string, options?: Omit<ExecSyncOptions, 'env'>
5757
return;
5858
}
5959

60-
execSync(`node ${prismaPath} ${args}`, _options);
60+
execSync(`node "${prismaPath}" ${args}`, _options);
6161
}

0 commit comments

Comments
 (0)