Skip to content

Commit 5fa3972

Browse files
committed
Tweak for tmux users
1 parent 0c38f0a commit 5fa3972

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

pync/TerminalNotifier.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010

1111

1212
class TerminalNotifier(object):
13-
TERMINAL_NOTIFIER_VERSION = "1.6.1"
13+
TERMINAL_NOTIFIER_VERSION = "1.6.1-rc1"
1414

1515
def __init__(self):
1616
"""
@@ -75,7 +75,7 @@ def notify(self, message, **kwargs):
7575

7676
def execute(self, args):
7777
args = [str(arg) for arg in args]
78-
output = subprocess.Popen([self.bin_path, ] + args, stdout=subprocess.PIPE, stderr=subprocess.STDOUT)
78+
output = subprocess.Popen(['reattach-to-user-namespace', self.bin_path, ] + args, stdout=subprocess.PIPE, stderr=subprocess.STDOUT)
7979

8080
if self.wait:
8181
output.wait()

pync/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
__version__ = "1.6.1"
1+
__version__ = "1.6.1-rc1"
22

33
from .TerminalNotifier import Notifier

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
terminal_notifier_files.append(os.path.join(root, f))
1818

1919
setup(name = 'pync',
20-
version = "1.6.1",
20+
version = "1.6.1-rc1",
2121
description = 'Python Wrapper for Mac OS 10.8 Notification Center',
2222
long_description = long_description,
2323
author = 'Vladislav Syabruk',

0 commit comments

Comments
 (0)