Skip to content

Commit

Permalink
Merge pull request #15 from xordi/linux-set-cwd
Browse files Browse the repository at this point in the history
Set cwd when calling Popen in linux
  • Loading branch information
sayedihashimi committed Dec 18, 2014
2 parents 082a04c + 848abcf commit 0f30a8c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Kulture.py
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ def run_terminal(self, dir_, parameters):
startupinfo.dwFlags |= subprocess.STARTF_USESHOWWINDOW
subprocess.Popen(args, cwd=cwd, startupinfo=startupinfo)
elif plat == 'linux':
subprocess.Popen(args)
subprocess.Popen(args, cwd=cwd)
else:
subprocess.Popen(args, cwd=cwd)

Expand Down

0 comments on commit 0f30a8c

Please sign in to comment.