Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The term '/bin/sh.exe' is not recognized as a name of a cmdlet #136

Open
alexn-s opened this issue Jun 16, 2022 · 0 comments
Open

The term '/bin/sh.exe' is not recognized as a name of a cmdlet #136

alexn-s opened this issue Jun 16, 2022 · 0 comments

Comments

@alexn-s
Copy link

alexn-s commented Jun 16, 2022

os

  • windows
  • shell: powershell v7 >
  • terminal env: windows terminal

code

 echo "hello there" | rtail
&: C:\Users\aschu\AppData\Roaming\npm\rtail.ps1:22
Line |
  22 |      $input | & "/bin/sh$exe"  "$basedir/pnpm-global/5/node_modules/rt …
     |                 ~~~~~~~~~~~~~
     | The term '/bin/sh.exe' is not recognized as a name of a cmdlet, function, script file, or executable program. Check the spelling of the
     | name, or if a path was included, verify that the path is correct and try again.

tried

modify rtail.ps1

replaced shebang #!/bin/sh with: #!/usr/bin/env node

replaced line22

replaced "/bin/sh$exe" with "powershell.exe" & "cmd.exe"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant