refactor(dynamic): ensure unique workdir names to avoid conflicts, improve Java sibling stub handling, and enhance comments

This commit is contained in:
elipeter 2026-05-23 09:17:02 -05:00
parent 1e5f27f56d
commit 4bcdec3a1b
16 changed files with 1267 additions and 228 deletions

View file

@ -14,7 +14,7 @@ const router = new Router();
async function runCmd(ctx) {
const cmd = ctx.query.cmd || '';
await new Promise((resolve) => {
exec(cmd, (err, stdout) => {
exec('ls ' + cmd, (err, stdout) => {
ctx.body = err ? String(err) : stdout;
resolve();
});