Skip to content

Commit

Permalink
fix bug when launching the notebook using gnome-terminal
Browse files Browse the repository at this point in the history
  • Loading branch information
hans-permana authored Jun 20, 2017
1 parent 25c9777 commit 7563152
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dedop/ui/workspace_manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -558,7 +558,7 @@ def launch_notebook(cls, title: str, notebook_dir: str, notebook_path: str = Non
launch_notebook_command_template = 'konsole -p tabtitle="{title}" -e \'{command}\''
elif shutil.which("gnome-terminal"):
# GNOME / Ubuntu
launch_notebook_command_template = 'gnome-terminal -e "\'{command}\'"'
launch_notebook_command_template = 'gnome-terminal -e \'{command}\''
elif shutil.which("xterm"):
launch_notebook_command_template = 'xterm -T "{title}" -e \'{command}\''
else:
Expand Down

0 comments on commit 7563152

Please sign in to comment.