Lines Matching refs:shell
141 options = { __proto__: null, ...options, shell: false };
200 options.shell = typeof options.shell === 'string' ? options.shell : true;
210 * Spawns a shell executing the given command.
216 * shell?: string;
304 * Spawns the specified file as a shell.
318 * shell?: boolean | string;
339 shell: false,
355 shell: options.shell,
594 // Validate the shell, if present.
595 if (options.shell != null &&
596 typeof options.shell !== 'boolean' &&
597 typeof options.shell !== 'string') {
598 throw new ERR_INVALID_ARG_TYPE('options.shell',
599 ['boolean', 'string'], options.shell);
620 if (options.shell) {
621 validateArgumentNullCheck(options.shell, 'options.shell');
623 // Set the shell, switches, and commands.
625 if (typeof options.shell === 'string')
626 file = options.shell;
637 if (typeof options.shell === 'string')
638 file = options.shell;
744 * shell?: boolean | string;
817 * shell?: boolean | string;
896 * Spawns a file as a shell synchronously.
911 * shell?: boolean | string;
935 * Spawns a shell executing the given `command` synchronously.
942 * shell?: string;