From 703e03aba33f234712206769f57717ba7d92d23d Mon Sep 17 00:00:00 2001 From: LinuxWizard42 Date: Wed, 12 Oct 2022 22:54:37 +0300 Subject: Added export_allowed file to make repository visible in cgit --- .../cross-spawn-windows-exe/dist/src/exe.d.ts | 24 ++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 node_modules/cross-spawn-windows-exe/dist/src/exe.d.ts (limited to 'node_modules/cross-spawn-windows-exe/dist/src/exe.d.ts') diff --git a/node_modules/cross-spawn-windows-exe/dist/src/exe.d.ts b/node_modules/cross-spawn-windows-exe/dist/src/exe.d.ts new file mode 100644 index 0000000..3c54957 --- /dev/null +++ b/node_modules/cross-spawn-windows-exe/dist/src/exe.d.ts @@ -0,0 +1,24 @@ +import { CrossSpawnArgs } from "@malept/cross-spawn-promise"; +import { CrossSpawnExeOptions } from "./wrapper"; +/** + * Installation instructions for dependencies related to running Windows executables on the + * host platform (i.e., Wine on non-Windows platforms). + */ +export declare function exeDependencyInstallInstructions(): string; +/** + * Heuristically determine the path to `wine` to use. + * + * Method used to determine the path: + * + * 1. `customWinePath`, if provided to the function + * 2. The `WINE_BINARY` environment variable, if set and non-empty + * 3. If the host architecture is x86-64, `wine64` found by searching the directories in the `PATH` + * environment variable + * 4. `wine` found by searching the directories in the `PATH` environment variable + */ +export declare function determineWineWrapper(customWinePath?: string): string; +/** + * Spawn a Windows executable. On non-Windows platforms, use [Wine](https://www.winehq.org/) + * to run it. + */ +export declare function spawnExe(cmd: string, args?: CrossSpawnArgs, options?: CrossSpawnExeOptions): Promise; -- cgit v1.2.3-86-g962b