15 lines
187 B
Plaintext
15 lines
187 B
Plaintext
|
#!/bin/bash
|
||
|
|
||
|
#get eclim PID If exist
|
||
|
pid=`ps -a | grep eclimd | cut -d'p' -f1`
|
||
|
|
||
|
echo $pid
|
||
|
|
||
|
#if not running, run it!
|
||
|
if [ -z $pid ]; then
|
||
|
$ECLIPSE_HOME/eclimd &
|
||
|
sleep 10
|
||
|
fi
|
||
|
|
||
|
vi $@
|