Skip to content

Commit d676080

Browse files
committed
fix: fixing wrong way of calling
1 parent c31919e commit d676080

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/test-utils.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ function createVenv(venvDir: string) {
103103
revert = deactivateVirtualenv();
104104
}
105105
try {
106-
let proc = subProcess.executeSync('python3 -m venv', [venvDir]);
106+
let proc = subProcess.executeSync('python3', ['-m', 'venv', venvDir]);
107107
if (proc.status !== 0) {
108108
console.error(proc.stdout.toString() + '\n' + proc.stderr.toString());
109109
throw new Error('Failed to create virtualenv in ' + venvDir);

0 commit comments

Comments
 (0)