Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

fix issue #5

  • Loading branch information...
commit bdde7346e457c49c5eef3bbae00975291bcc9dcf 1 parent 741c039
Vasiliy Ermolovich authored

Showing 1 changed file with 3 additions and 0 deletions. Show diff stats Hide diff stats

  1. +3 0  lib/launchy/application.rb
3  lib/launchy/application.rb
@@ -176,6 +176,9 @@ def run(cmd,*args)
176 176 # run, the shell interprets it as two commands:
177 177 # (1) "start" opens a new terminal, and (2)
178 178 # "filename" causes the file to be launched.
  179 + if (cmd == "start")
  180 + args[0].gsub!("&", "^&")
  181 + end
179 182 system 'cmd', '/c', cmd, *args
180 183 elsif is_jruby?
181 184 Spoon.spawnp *shell_commands(cmd, args)

0 comments on commit bdde734

Please sign in to comment.
Something went wrong with that request. Please try again.