5 lines
240 B
JavaScript
5 lines
240 B
JavaScript
import { spawnSync } from 'node:child_process';
|
|
import { fileURLToPath } from 'node:url';
|
|
const result = spawnSync('python3', [fileURLToPath(new URL('./build.py', import.meta.url))], { stdio: 'inherit' });
|
|
process.exit(result.status ?? 1);
|