gb_launch.sh 207 B

12345678
  1. #!/bin/sh
  2. # Launch the process in background, record the PID into a file, wait
  3. # for the process to terminate and erase the recorded PID
  4. sdlgnuboy --syncrtc --stereo=0 "$1"&
  5. pid record $!
  6. wait $!
  7. pid erase