shelljs / shelljs/shx

Executing paths should be supported

Open
#65 7 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

feat
Dominant language
JavaScript
Stars
1.9k
Forks
51
Avg merge
3d 2h
Merged PRs (30d)
1

Description

I'd like a cross-platform way of executing local executables, e.g. under *nix I can currently:

./local/path/executable

this doesn't work under windows because of the path representation ./.

I was hoping I could run:

shx ./local/path/executable

But that doesn't seem to be supported.

Thanks! Otherwise awesome job!

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start at the shx command handling for local executable paths and compare how the ./local/path/executable form is interpreted on Unix and Windows. Done means shx ./local/path/executable reliably executes a local executable with equivalent behavior across both platforms; no test location is specified in the issue.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, shell
Domain
cli, operating-systems
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.