#!/bin/sh BASEDIR=$(dirname $0) ruby $BASEDIR/main_interface_bot.rb $1 $2 &>/dev/null & echo $! > $BASEDIR/.pid