Skip to content

Commit

Permalink
Merge pull request #395 from opcm/opcm-bg-scripts
Browse files Browse the repository at this point in the history
Create pcm background scripts
  • Loading branch information
opcm authored Mar 28, 2022
2 parents e4b3c95 + 0c4b1a7 commit 1ac0144
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
7 changes: 7 additions & 0 deletions scripts/pcm-background.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@


shift

pcm "$@" &

echo "$!" > pcm.pid
2 changes: 2 additions & 0 deletions scripts/pcm-stop.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@

kill `cat pcm.pid`

0 comments on commit 1ac0144

Please sign in to comment.