Gathering detailed insights and metrics for cross-spawn-windows-exe
Gathering detailed insights and metrics for cross-spawn-windows-exe
Gathering detailed insights and metrics for cross-spawn-windows-exe
Gathering detailed insights and metrics for cross-spawn-windows-exe
Cross-platform support for running Windows executables via Node.js.
npm install cross-spawn-windows-exe
Typescript
Module System
Min. Node Version
Node Version
NPM Version
TypeScript (95.89%)
Shell (4.11%)
Total Downloads
0
Last Day
0
Last Week
0
Last Month
0
Last Year
0
Apache-2.0 License
1 Stars
93 Commits
1 Watchers
10 Branches
1 Contributors
Updated on Jun 17, 2022
Latest Version
1.2.0
Package Id
cross-spawn-windows-exe@1.2.0
Unpacked Size
39.35 kB
Size
11.31 kB
File Count
21
NPM Version
6.14.12
Node Version
12.22.1
Cumulative downloads
Total Downloads
Last Day
0%
NaN
Compared to previous day
Last Week
0%
NaN
Compared to previous week
Last Month
0%
NaN
Compared to previous month
Last Year
0%
NaN
Compared to previous year
3
24
cross-spawn-windows-exe
Cross-platform support for running Windows executables via Node.js.
Utilizes @malept/cross-spawn-promise
(and by
extension, cross-spawn
) to execute Windows executables regardless
of platform.
For all platforms, Node 10 or above is required.
On non-Windows, non-WSL host systems, the following dependencies are required:
Using the cross-spawn-windows-exe
API is similar in terms of function signature to spawn
in
@malept/cross-spawn-promise
.
1// Note: top-level await exists in Node >= 14.8.0. In earlier versions of Node, please wrap in an 2// async function. 3 4const { spawnDotNet } = require("cross-spawn-windows-exe"); 5 6await spawnDotNet("./hellodotnet.exe", ["--arg1"]);
1// Note: top-level await exists in Node >= 14.8.0. In earlier versions of Node, please wrap in an 2// async function. 3 4const { spawnExe } = require("cross-spawn-windows-exe"); 5 6await spawnExe("./hellowindows.exe", ["--arg1"]);
Executables generally can't handle UNIX-style paths that Windows Subsystem for Linux (WSL) passes
in, since it's a Linux environment. This module provides a function to convert those paths from
UNIX-style to Windows-style (via wslpath
, which should be installed by default on every WSL
distribution), if the host system is determined to be WSL. For non-WSL environments, this is a
no-op.
1// Note: top-level await exists in Node >= 14.8.0. In earlier versions of Node, please wrap in an 2// async function. 3 4const { normalizePath, spawnExe } = require("cross-spawn-windows-exe"); 5 6const normalizedPath = await normalizePath("/tmp/foo"); 7await spawnExe("./openfile.exe", ["--filename", normalizedPath]);
This module is licensed under the Apache License, version 2.0.
See LICENSE
for details.
No vulnerabilities found.
Reason
no dangerous workflow patterns detected
Reason
0 existing vulnerabilities detected
Reason
license file detected
Details
Reason
binaries present in source code
Details
Reason
0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0
Reason
Found 0/2 approved changesets -- score normalized to 0
Reason
detected GitHub workflow tokens with excessive permissions
Details
Reason
dependency not pinned by hash detected -- score normalized to 0
Details
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
security policy file not detected
Details
Reason
project is not fuzzed
Details
Reason
branch protection not enabled on development/release branches
Details
Reason
SAST tool is not run on all commits -- score normalized to 0
Details
Score
Last Scanned on 2025-07-07
The Open Source Security Foundation is a cross-industry collaboration to improve the security of open source software (OSS). The Scorecard provides security health metrics for open source projects.
Learn More