mirror of
https://github.com/vercel-labs/scriptc.git
synced 2026-10-29 07:04:09 +08:00
- Launch and manage TypeScript server processes through a portable native FFI boundary. - Share the production session API between Node and statically compiled clients. - Preserve Unicode command-line arguments and release server resources on every exit path.
7 lines
252 B
JavaScript
7 lines
252 B
JavaScript
exports.describeArguments = function () {
|
|
const args = JSON.stringify(process.argv.slice(2));
|
|
const same = process.argv === process.argv;
|
|
process.argv.push("追加");
|
|
return args + "\n" + same + "\n" + process.argv[process.argv.length - 1];
|
|
};
|