Skip to content

Commit

Permalink
Snowberry: Fixed dedicated launch on Mac
Browse files Browse the repository at this point in the history
Incorrect quoting for the osascript arguments.
  • Loading branch information
skyjake committed Dec 21, 2011
1 parent cac0bdb commit 4b0b3f3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions snowberry/plugins/launcher.py
Expand Up @@ -239,7 +239,7 @@ def q2p(s): return '\\\\\\\"' + s + '\\\\\\\"'
print >> sh, "%s @%s" % (paths.quote(engineBin), paths.quote(responseFile))
sh.close()
os.chmod(shFile, 0744)
engineBin = shFile
engineBin = paths.quote(shFile)
spawnFunc = spawnWithTerminal
else:
spawnFunc = os.spawnvp
Expand All @@ -255,7 +255,7 @@ def q2p(s): return '\\\\\\\"' + s + '\\\\\\\"'

def spawnWithTerminal(wait, launchScript, arguments):
term = st.getSystemString('system-terminal').split(' ')
os.spawnvp(wait, term[0], term + [paths.quote(launchScript)])
os.spawnvp(wait, term[0], term + [launchScript])


def generateOptions(profile):
Expand Down

0 comments on commit 4b0b3f3

Please sign in to comment.