Comments (6)
run-or-raise 'class = "neovide"' neovide -- "--maximized -- --listen /tmp/nvimsocket"
It could be because you're terminating the CLI arguments twice with --
or wrapping all the arguments in a single string, making them all a single argument. Try
run-or-raise 'class = "neovide"' neovide -- --maximized --listen /tmp/nvimsocket
See if that helps.
from run-or-raise.
No, this doesn't help either. Running you suggestion is like my way above. Nothing happens.
from run-or-raise.
Could you try the following command and see if that works
run-or-raise 'class = "neovide"' neovide --maximized -- --listen /tmp/nvimsocket
from run-or-raise.
Yes, this is working fine. Thanks a lot.
So, what is the moral of the story? Don't use quotes at all for the command arguments?
from run-or-raise.
run-or-raise
receives two or more command line arguments where the first one is the expression used to match windows, the second one the command to execute if a suitable windows was not found, and any remaining arguments are passed to that command.
This means that in the case of your first attempt
run-or-raise 'class = "neovide"' neovide -- "--maximized -- --listen /tmp/nvimsocket"
neovide would have received the following arguments:
--
--maximized -- --listen /tmp/nvimsocket
The important bit here is that it wil be neovide receiving the first --
argument, run-or-raise
doesn't interpret that in any special way. Looking at neovide's help, it seems it will pass any arguments following --
to neovim. This means that here neovim will then receive the second argument --maximized -- --listen /tmp/nvimsocket
. Since the argument was wrapped in quotes neovim will receive it as a single argument and I assume it does not know what to do with that and exits with an error.
from run-or-raise.
Thanks a lot for your explanations which make much sense.
from run-or-raise.
Related Issues (5)
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 run-or-raise.