start.sh 215 B

123456789101112131415161718192021222324
  1. #!/bin/sh
  2. PID=0
  3. start () {
  4. ecl --load src/cameron.lisp 1>> cameron.log. 2>> error.log. &
  5. PID=$!
  6. }
  7. begin () {
  8. echo "BEGIN CAMERON"
  9. start
  10. echo $PID > pid.
  11. echo "PID : $PID"
  12. }
  13. begin &