launc_in_venv script to be used in conjunction with supervisord
This commit is contained in:
7
scripts/launch_in_venv
Executable file
7
scripts/launch_in_venv
Executable file
@ -0,0 +1,7 @@
|
||||
#! /bin/bash
|
||||
root_dir=`dirname $0`/..
|
||||
cd $root_dir
|
||||
source $root_dir/venv/bin/activate
|
||||
$@
|
||||
deactivate
|
||||
|
Reference in New Issue
Block a user