package node.child_process; typedef SpawnSyncOptions = { @:optional var input : node.crypto.BinaryLike; @:optional var maxBuffer : Float; @:optional var encoding : String; @:optional var argv0 : String; /** Can be set to 'pipe', 'inherit', 'overlapped', or 'ignore', or an array of these strings. If passed as an array, the first element is used for `stdin`, the second for `stdout`, and the third for `stderr`. A fourth element can be used to specify the `stdio` behavior beyond the standard streams. See {@link ChildProcess.stdio} for more information. **/ @:optional var stdio : StdioOptions; @:optional var shell : ts.AnyOf2; @:optional var windowsVerbatimArguments : Bool; @:optional var windowsHide : Bool; @:optional var timeout : Float; @:optional var uid : Float; @:optional var gid : Float; @:optional var cwd : ts.AnyOf2; @:optional var env : global.nodejs.ProcessEnv; /** Specify the kind of serialization used for sending messages between processes. **/ @:optional var serialization : SerializationType; /** The signal value to be used when the spawned process will be killed by the abort signal. **/ @:optional var killSignal : ts.AnyOf2; /** When provided the corresponding `AbortController` can be used to cancel an asynchronous action. **/ @:optional var signal : js.html.AbortSignal; };