mirror of
https://github.com/oven-sh/bun
synced 2026-02-02 15:08:46 +00:00
framework api: init / work in progress (#13215)
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com>
This commit is contained in:
@@ -3,13 +3,14 @@ try {
|
||||
internal = require("bun:internal-for-testing");
|
||||
} catch {
|
||||
const result = Bun.spawnSync({
|
||||
cmd: [process.execPath, import.meta.file],
|
||||
cmd: [process.execPath, import.meta.path],
|
||||
env: {
|
||||
...process.env,
|
||||
BUN_DEBUG_QUIET_LOGS: "1",
|
||||
BUN_GARBAGE_COLLECTOR_LEVEL: "0",
|
||||
BUN_FEATURE_FLAG_INTERNAL_FOR_TESTING: "1",
|
||||
},
|
||||
stdio: ['inherit', 'inherit', 'inherit'],
|
||||
});
|
||||
process.exit(result.exitCode);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user