Comments (4)
Works fine for me on macOS 11. You haven't really included any useful info for me to debug this. Try to look through https://github.com/sindresorhus/open/issues?q=is:issue+is:open+sort:updated-desc and see if your issue is one of those.
from open-cli.
I confirm this issue on Windows 10 (node 14.15.1)
And yes, it's working pretty well on open-cli 5.0.0. So I suggest considering it as a new Windows-specific bug.
from open-cli.
I was trying to execute open-cli out/index.html
console.log(command, cliArguments, childProcessOptions);
before childProcess.spawn
in index.js of "open" package shows this:
cmd [ '/c', 'start', '""', '/b', 'out/index.html' ] {}
(and this works)
C:\WINDOWS\System32\WindowsPowerShell\v1.0\powershell [
'-NoProfile',
'-NonInteractive',
'–ExecutionPolicy',
'Bypass',
'-EncodedCommand',
'UwB0AGEAcgB0ACAAIgBgACIAbwB1AHQALwBpAG4AZABlAHgALgBoAHQAbQBsAGAAIgAiAA=='
] { windowsVerbatimArguments: true }
(and this doesn't works)
from open-cli.
#214 must fix this problem in the open
library. Then it will be necessary to update this dependency up to the new version.
from open-cli.
Related Issues (12)
- Use --no-wait as default HOT 3
- Stdin support HOT 2
- SyntaxError: use of const in strict mode. HOT 1
- opn command open empty vscode HOT 1
- Command-line arguments are not passed on macOS HOT 6
- open-cli vulnerability SNYK-JS-YARGSPARSER-560381 HOT 1
- `open` dependency outdated
- command "open-cli https://sindresorhus.com" result error
- Vulnerability on file-type HOT 2
- Question: dependencies HOT 3
- Windows + Chrome (Default Browser) + Local file + Anchor not working
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from open-cli.