runSlicer.sh 286 B

1234567891011
  1. #!/bin/bash
  2. . `dirname $0`/env.sh
  3. export DISPLAY=:$DISPLAYID
  4. TEMP=~/.xpra/temp.log
  5. #make sure xpra is running a virtual buffer at DISPLAY
  6. xpra info $DISPLAY > $TEMP || xpra start $DISPLAY;
  7. nohup $SLICER/Slicer --no-main-window --python-script $1 0<&- &> $HOME/logs/runSlicer.log &