diff options
Diffstat (limited to 'python/examples/start-console.sh')
| -rw-r--r-- | python/examples/start-console.sh | 10 | 
1 files changed, 9 insertions, 1 deletions
| diff --git a/python/examples/start-console.sh b/python/examples/start-console.sh index df4fd6e..e842427 100644 --- a/python/examples/start-console.sh +++ b/python/examples/start-console.sh @@ -1,3 +1,4 @@ +#!/bin/bash  if ! type "screen" > /dev/null; then      echo "[ERROR] Screen is not installed. Please install screen to use this utility ."      exit @@ -5,4 +6,11 @@ fi  rm ./pubnub-console.log  touch ./pubnub-console.log  set PYTHONPATH=../.. -screen -c config +screen -X -S pubnub-console quit 2>&1 > /dev/null +OS="`uname`" +case $OS in +  'darwin')  +	screen -c config_osx +    ;; +  *) screen -c config;; +esac | 
