Skip to content

Commit f4d32a1

Browse files
committed
use Popen over call because it's non-blocking
1 parent e5c609c commit f4d32a1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

SublimeGitUp.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ def run(self, *args):
4545
path = os.path.dirname(path)
4646

4747
app_path = '/Applications/GitUp.app'
48-
subprocess.call(['open', '-a', app_path, path])
48+
subprocess.Popen(['open', '-a', app_path, path])
4949

5050

5151
class SideBarGitupCommand(sublime_plugin.WindowCommand):
@@ -74,4 +74,4 @@ def run(self, paths):
7474
path = os.path.dirname(path)
7575

7676
app_path = '/Applications/GitUp.app'
77-
subprocess.call(['open', '-a', app_path, path])
77+
subprocess.Popen(['open', '-a', app_path, path])

0 commit comments

Comments
 (0)