(...args)
| 21 | const MB = (2 ** 10) ** 2; |
| 22 | |
| 23 | const log = (...args) => { |
| 24 | const payload = |
| 25 | args |
| 26 | .map(item => |
| 27 | typeof item === class="st">'string' ? item : inspect(item, { depth: Infinity, breakLength: Infinity }) |
| 28 | ) |
| 29 | .join(class="st">', ') + class="st">'\n'; |
| 30 | process.stdout.write(class="st">'(subprocess): ' + payload); |
| 31 | }; |
| 32 | |
| 33 | async function main() { |
| 34 | log(class="st">'starting execution'); |