A motion design toolkit for coding agents.
JavaScript
Log Python launcher errors before exiting
whaley3da96188a98c
diff --git a/scripts/py.mjs b/scripts/py.mjsindex 3099f98..0c23965 100644--- a/scripts/py.mjs+++ b/scripts/py.mjs@@ -4,4 +4,5 @@ import {spawnSync} from 'node:child_process';const python = process.platform === 'win32' ? 'python' : 'python3';const result = spawnSync(python, process.argv.slice(2), {stdio: 'inherit'});+if (result.error) console.error(`Failed to start ${python}: ${result.error.message}`);process.exit(result.status ?? 1);