Last active
August 29, 2015 14:14
-
-
Save blueyed/f5c3a5f96f4940d393a2 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env zsh | |
# Wrap call to python with a terminal (urxvt), to make server processes easier | |
# to debug (e.g. YouComleteMe). | |
# E.g.: python-in-terminal -c "import time; time.sleep(5)" | |
: ${PYTHON:=python2} | |
cmd=($PYTHON ${@}) | |
exec urxvt -e ${cmd} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment