Skip to content

Conversation

@nfischer
Copy link
Member

shell.cmd() was originally implemented in #866, however was not yet exposed. This command should be ready for people to try out, so this exposes the command by default.

This is still not a full implementation of everything in the https://shelljs.page.link/cmd-design design doc, however this completes the initial phase and is likely good enough to replace most use cases of synchronous shell.exec().

Fixes #495

@nfischer nfischer added feature exec Issues specific to the shell.exec() API high priority labels Feb 20, 2025
@codecov
Copy link

codecov bot commented Feb 20, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 97.38%. Comparing base (d9d7f4d) to head (c0fa2c0).
Report is 3 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #1185      +/-   ##
==========================================
+ Coverage   97.28%   97.38%   +0.09%     
==========================================
  Files          36       36              
  Lines        1364     1452      +88     
==========================================
+ Hits         1327     1414      +87     
- Misses         37       38       +1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

shell.cmd() was originally implemented in #866, however was not yet
exposed. This command should be ready for people to try out, so this
exposes the command by default.

This is still not a full implementation of everything in the
https://shelljs.page.link/cmd-design design doc, however this completes
the initial phase and is likely good enough to replace most use cases of
synchronous shell.exec().

Fixes #495
@nfischer nfischer merged commit 65baedb into master Feb 20, 2025
20 checks passed
@nfischer nfischer deleted the feat-expose-cmd branch February 22, 2025 07:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

exec Issues specific to the shell.exec() API feature high priority

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add support for execFile-like interface to exec

2 participants