We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
readlink
No error and show the same result as we type it on command line
Always throw error, even if it's working on comand line
echo "$`readlink .`" > check.mjs; chmod +x ./check.mjs
zx check.mjs
It prints error like:
~ ❯ zx ./check.mjs $ readlink /Users/me/test file:///Users/me/.local/lib/node_modules/zx/build/core.js:146 let output = new ProcessOutput(code, signal, stdout, stderr, combined, message); ^ ProcessOutput [Error]: at file:///Users/me/check.mjs:2:2 exit code: 1 at ChildProcess.<anonymous> (file:///Users/me/.local/lib/node_modules/zx/build/core.js:146:26) at ChildProcess.emit (node:events:514:28) at ChildProcess.emit (node:domain:488:12) at maybeClose (node:internal/child_process:1105:16) at Socket.<anonymous> (node:internal/child_process:457:11) at Socket.emit (node:events:514:28) at Socket.emit (node:domain:488:12) at Pipe.<anonymous> (node:net:337:12) at Pipe.callbackTrampoline (node:internal/async_hooks:130:17) { _code: 1, _signal: null, _stdout: '', _stderr: '', _combined: '' } Node.js v20.10.0 ~ ❯
7.2.3
mac os 12.6.2
The text was updated successfully, but these errors were encountered:
Switch to shelljs now :(
Sorry, something went wrong.
awesome. So this issue not longer relevant
No branches or pull requests
Expected Behavior
No error and show the same result as we type it on command line
Actual Behavior
Always throw error, even if it's working on comand line
Steps to Reproduce the Problem
echo "$`readlink .`" > check.mjs; chmod +x ./check.mjs
zx check.mjs
It prints error like:
Specifications
7.2.3
mac os 12.6.2
The text was updated successfully, but these errors were encountered: