child-process.ts:19:19 - error SC2020: 'spawn with a non-literal options argument' is part of the standard library types but has no scriptc lowering yet

  18 | const options: { stdio: "ignore"; detached: boolean } = { stdio: "ignore", detached: true };
  19 | spawn("true", [], options);
     |                   ^~~~~~~
  20 | spawn("printf", ["unsafe"], { stdio: "ignore", shell: true });

  hint: pass stdio, detached, env, cwd, windowsHide, and shell in an inline object literal

child-process.ts:20:17 - error SC2020: 'spawn with shell enabled and separate arguments' is part of the standard library types but has no scriptc lowering yet

  19 | spawn("true", [], options);
  20 | spawn("printf", ["unsafe"], { stdio: "ignore", shell: true });
     |                 ^~~~~~~~~~
  21 | const c = spawn("true", [], { stdio: "ignore" });

  hint: put the complete shell command in the first argument and pass [] (Node deprecates unescaped shell argument concatenation)

child-process.ts:27:14 - error SC1090: listeners returning a value (make the callback body a block, or return nothing) is not supported yet

  26 | // as void.
  27 | c.on("exit", (): number => 5);
     |              ^~~~~~~~~~~~~~~
  28 | // Methods have no bound-value form — call on directly.

child-process.ts:29:7 - error SC2007: values of type '{ (event: "exit", listener: (code: number | null, signal: string | null) => void): void; (event: "close", listener: (code: number | null, signal: string | null) => void): void; (event: "error", listener: (err: Error) => void): void; }' cannot be compiled: the type declares multiple call signatures (overloads), and a compiled function value is always one concrete signature

  28 | // Methods have no bound-value form — call on directly.
  29 | const f = c.on;
     |       ^
  30 | // The callback slice is deliberately narrower than Node's complete

  hint: annotate the slot with the ONE signature the program actually calls (e.g. '(x: number) => string'), or wrap the overloaded function in a single-signature arrow

child-process.ts:29:11 - error SC1090: child methods as values (call 'on' directly) are not supported yet

  28 | // Methods have no bound-value form — call on directly.
  29 | const f = c.on;
     |           ^~~~
  30 | // The callback slice is deliberately narrower than Node's complete

child-process.ts:32:1 - error SC2020: 'execFile with 1 arguments' is part of the standard library types but has no scriptc lowering yet

  31 | // options/optional-callback overload family.
  32 | execFile("true");
     | ^~~~~~~~~~~~~~~~
  33 | execFile("true", [], { encoding: "utf8" }, () => {});

  hint: the supported callback forms are execFile(file, callback) and execFile(file, args, callback)

child-process.ts:33:1 - error SC2020: 'execFile with 4 arguments' is part of the standard library types but has no scriptc lowering yet

  32 | execFile("true");
  33 | execFile("true", [], { encoding: "utf8" }, () => {});
     | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  34 | // Keep each fence on its own statement so diagnostics remain site-specific.

  hint: the supported callback forms are execFile(file, callback) and execFile(file, args, callback)