Coder Social home page Coder Social logo

Comments (13)

copiousfreetime avatar copiousfreetime commented on August 20, 2024

can you put ENV['LAUNCHY_DEBUG'] = 'true' at the top, run again and then send me that info ?

from launchy.

jphastings avatar jphastings commented on August 20, 2024

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.

inprogs avatar inprogs commented on August 20, 2024

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.

dolzenko avatar dolzenko commented on August 20, 2024

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.

copiousfreetime avatar copiousfreetime commented on August 20, 2024

Thanks for the input, I'll be fixing this up in the next week or so.

from launchy.

mikefarmer avatar mikefarmer commented on August 20, 2024

Any update on this? I'm seeing the same issue and found the same bug.

from launchy.

copiousfreetime avatar copiousfreetime commented on August 20, 2024

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.

mikefarmer avatar mikefarmer commented on August 20, 2024

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.

copiousfreetime avatar copiousfreetime commented on August 20, 2024

new launchy version 0.3.7 released which fixes this, thanks mike.

from launchy.

mikefarmer avatar mikefarmer commented on August 20, 2024

Thank you!

from launchy.

copiousfreetime avatar copiousfreetime commented on August 20, 2024

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.

copiousfreetime avatar copiousfreetime commented on August 20, 2024

a few bugs cropped up in 2.0.1, so 2.0.2 is now out.

from launchy.

copiousfreetime avatar copiousfreetime commented on August 20, 2024

I have pushed 2.0.4. Please reopen if you see this bug still.

from launchy.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.