Revisions
-
skyler revised this gist
Apr 11, 2014 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -1,5 +1,5 @@ #!/bin/bash # modified from https://gist.github.com/826961 VENV=$1 PROGNAME=$0 if [ -z $VENV ]; then -
skyler revised this gist
Apr 11, 2014 . 1 changed file with 4 additions and 2 deletions.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -1,11 +1,13 @@ #!/bin/bash # https://gist.github.com/826961 VENV=$1 PROGNAME=$0 if [ -z $VENV ]; then echo "usage: $PROGNAME [virtualenv_path] CMDS" exit 1 fi . ${VENV}/bin/activate shift 1 echo "Executing $@ in ${VENV}" exec "$@" deactivate -
parente revised this gist
Feb 15, 2011 . 1 changed file with 4 additions and 0 deletions.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,4 @@ ; rest of conf omitted for brevity [program:handlerbag] command=sh runinenv /opt/envs/handlerbag handlerbag.py --port=5000 directory=/opt/envs/handlerbag -
parente created this gist
Feb 15, 2011 .There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,11 @@ #!/bin/bash VENV=$1 if [ -z $VENV ]; then echo "usage: runinenv [virtualenv_path] CMDS" exit 1 fi . ${VENV}/bin/activate shift 1 echo "Executing $@ in ${VENV}" exec "$@" deactivate