1
0
mirror of https://github.com/wting/autojump synced 2024-10-27 20:34:07 +00:00

added special case for konsole

This commit is contained in:
Joël Schaerer 2009-04-17 15:31:26 +02:00
parent 4f3d98bd3a
commit 891ddae854

View File

@ -253,6 +253,9 @@ def create_actions():
print "launch terminal '%s'" % defaults["terminal"]
if not os.fork():
try:
if defaults["terminal"]=="konsole":
subprocess.Popen([defaults["terminal"],"--workdir=%s"%path]).wait()
else:
os.chdir(path)
subprocess.Popen([defaults["terminal"]]).wait()
except OSError: