Comments (13)
can you put ENV['LAUNCHY_DEBUG'] = 'true' at the top, run again and then send me that info ?
from launchy.
Here you go:
LAUNCHY_DEBUG: Launchy::Browser : Using 'start' command on windows.
LAUNCHY_DEBUG: Launchy::Browser : Using application list : start
LAUNCHY_DEBUG: Launchy::Browser : Spawning on windows : start ["http://google.com"]
'http:' is not recognized as an internal or external command, operable program or batch file.
from launchy.
Same on Windows XP...
LAUNCHY_DEBUG: Launchy::Browser : Using 'start' command on windows.
LAUNCHY_DEBUG: Launchy::Browser : Using application list : start
LAUNCHY_DEBUG: Launchy::Browser : Spawning on windows : start ["www.ruby-lang.org/"]
Nazwa 'www.ruby-lang.org' nie jest rozpoznawana jako polecenie wewn�trzne lub zewn�trzne,
program wykonywalny lub plik wsadowy.
from launchy.
Same problem, quick-fix:
replace this line http://github.com/copiousfreetime/launchy/blob/master/lib/launchy/application.rb#L158
with
system 'cmd', '/c', cmd, *args
Also this comment is wrong
# NOTE: the command is purposely omitted here because
# running the filename via "cmd /c" is the same as
# running "start filename" at the command-prompt
Because cmd /c
is not an equivalent of start filename
.
from launchy.
Thanks for the input, I'll be fixing this up in the next week or so.
from launchy.
Any update on this? I'm seeing the same issue and found the same bug.
from launchy.
Thanks for the patch. I need to review the various different window's cmd /c items, as it stands it works on xp, or at least it did the last time I checked, so if Vista and/or 7 have it different then I'll need a way to distinguish between different Windows versions, via ruby, in order to have it do the right thing for most if not all Windows.
from launchy.
Sounds good. I have tested on Windows XP SPK3 and Windows 7 (latest updates) and it worked ok. Thanks for the quick response!
from launchy.
new launchy version 0.3.7 released which fixes this, thanks mike.
from launchy.
Thank you!
from launchy.
I have released launch-2.0.1 which includes java and hopefully better windows support. If you could test it out and let me know if you still see bugs, I would greatly appreciate it.
-jeremy
from launchy.
a few bugs cropped up in 2.0.1, so 2.0.2 is now out.
from launchy.
I have pushed 2.0.4. Please reopen if you see this bug still.
from launchy.
Related Issues (20)
- Settings get cleared after some time HOT 1
- "Unable to find a browser command" when using launchy in gitpod and other IDE's HOT 3
- Rspec E2E testing function HOT 2
- Please rerun with environment variable
- 1
- Anyway to set the browser tab like in <a href="" target="">? HOT 6
- Launchy seems to error since 28th Feb since 2.5.0 was released HOT 3
- (WSL) Failing calls to xdg-open in do not trigger exception block HOT 2
- Launchy::CommandNotFoundError HOT 1
- Launchy 2.5 introduces breaking changes by requiring ruby 2.4 HOT 1
- Failure: Launchy::Application::Browser#test_0002_when host_os is 'darwin' the appropriate 'app_list' method is called HOT 1
- Launchy::CommandNotFoundError HOT 1
- useMatcapTexture broken? HOT 1
- Support for WSL: Spaces in cmd path, translate pathname from WSL2 to Windows HOT 6
- High severity vulnerability in gem dependency HOT 1
- / HOT 1
- Incompatible with the `debug` gem? (`after_fork': undefined method `open' for #<DEBUGGER__::ProcessGroup) HOT 2
- Deprecated: remove deprecated.rb
- Typo: in https://github.com/copiousfreetime/launchy/blob/master/lib/launchy/detect/ruby_engine.rb#L18
- Arc Integration HOT 8
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 launchy.