diff options
| author | Devendra | 2014-04-29 03:11:45 +0530 | 
|---|---|---|
| committer | Devendra | 2014-04-29 03:11:45 +0530 | 
| commit | d703c34d918a75a4d5a984143c8fbd5049931b1a (patch) | |
| tree | 4438352661eafe3384a397ad8c68ed008c20ab1f /python/examples/start-console.sh | |
| parent | 769c3a908890a15c8f5e08cd651e1120194c2e74 (diff) | |
| download | pubnub-python-d703c34d918a75a4d5a984143c8fbd5049931b1a.tar.bz2 | |
adding start console script and helper files
Diffstat (limited to 'python/examples/start-console.sh')
| -rw-r--r-- | python/examples/start-console.sh | 8 | 
1 files changed, 8 insertions, 0 deletions
| diff --git a/python/examples/start-console.sh b/python/examples/start-console.sh new file mode 100644 index 0000000..df4fd6e --- /dev/null +++ b/python/examples/start-console.sh @@ -0,0 +1,8 @@ +if ! type "screen" > /dev/null; then +    echo "[ERROR] Screen is not installed. Please install screen to use this utility ." +    exit +fi +rm ./pubnub-console.log +touch ./pubnub-console.log +set PYTHONPATH=../.. +screen -c config | 
