mirror of
https://github.com/engineer-man/piston.git
synced 2025-04-20 20:16:26 +02:00
Add stdin
This commit is contained in:
parent
8fd831982e
commit
c537cab2da
30 changed files with 42 additions and 32 deletions
|
@ -26,7 +26,7 @@ const [languageName, sourceFile, ...args] = process.argv.slice(2);
|
|||
return;
|
||||
}
|
||||
|
||||
const { output } = await execute(language, source, args);
|
||||
const { output } = await execute(language, source, '', args);
|
||||
|
||||
console.log(output);
|
||||
})();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue