Skip to content

Commit 1ac0144

Browse files
authored
Merge pull request #395 from opcm/opcm-bg-scripts
Create pcm background scripts
2 parents e4b3c95 + 0c4b1a7 commit 1ac0144

File tree

2 files changed

+9
-0
lines changed

2 files changed

+9
-0
lines changed

scripts/pcm-background.sh

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
2+
3+
shift
4+
5+
pcm "$@" &
6+
7+
echo "$!" > pcm.pid

scripts/pcm-stop.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
2+
kill `cat pcm.pid`

0 commit comments

Comments
 (0)