Skip to content

Commit 9776d48

Browse files
committed
Fix start directory with a space
1 parent 7b030d1 commit 9776d48

File tree

2 files changed

+0
-2
lines changed

2 files changed

+0
-2
lines changed

tmuxp/session.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,6 @@ def new_window(self,
164164
if start_directory:
165165
# as of 2014-02-08 tmux 1.9-dev doesn't expand ~ in new-window -c.
166166
start_directory = os.path.expanduser(start_directory)
167-
start_directory = pipes.quote(start_directory)
168167
window_args += ('-c%s' % start_directory,)
169168

170169
window_args += (

tmuxp/window.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -378,7 +378,6 @@ def split_window(
378378
if start_directory:
379379
# as of 2014-02-08 tmux 1.9-dev doesn't expand ~ in new-window -c.
380380
start_directory = os.path.expanduser(start_directory)
381-
start_directory = pipes.quote(start_directory)
382381
tmux_args += ('-c%s' % start_directory,)
383382

384383
if not attach:

0 commit comments

Comments
 (0)