Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

fix issue #5

  • Loading branch information...
commit bdde7346e457c49c5eef3bbae00975291bcc9dcf 1 parent 741c039
Vasiliy Ermolovich authored
Showing with 3 additions and 0 deletions.
  1. +3 −0  lib/launchy/application.rb
3  lib/launchy/application.rb
View
@@ -176,6 +176,9 @@ def run(cmd,*args)
# run, the shell interprets it as two commands:
# (1) "start" opens a new terminal, and (2)
# "filename" causes the file to be launched.
+ if (cmd == "start")
+ args[0].gsub!("&", "^&")
+ end
system 'cmd', '/c', cmd, *args
elsif is_jruby?
Spoon.spawnp *shell_commands(cmd, args)
Please sign in to comment.
Something went wrong with that request. Please try again.