Re: [Jack-Devel] starting jack from within a bash script

PrevNext  Index
DateSat, 25 Oct 2014 18:39:56 +0300
From Athanasios Silis <[hidden] at gmail dot com>
ToDevelopers JACK <[hidden] at lists dot jackaudio dot org>
In-Reply-ToAthanasios Silis [Jack-Devel] starting jack from within a bash script
aha!
I just found "jack_wait" which does exactly  what I need!


On Sat, Oct 25, 2014 at 5:30 PM, Athanasios Silis <
[hidden]> wrote:

> hi all,
> I want to start jack from a bash script and I am not sure how can I wait
> to make sure that jack has started to do all the next operations.
> right now and on any jack related script I came across on the internet, I
> see "sleep" statements after execution of jackd. so smth like
>
> #!/bin/bash
> /usr/bin/jackd ... &
> sleep 3
> #init other apps and do connections
>
> This is quick and easy but not a "safe" way to start everything else after
> jack for obvious reasons.
> Is there a way to wait for jack to start and then continue with the
> execution of the script?
>
> thank you
>
PrevNext  Index

1414251602.20550_0.ltw:2, <CADgchnsw5awK0Veoo4wBPXGKLeLb0n-MWB=Cu1iJ6Gqam9R62A at mail dot gmail dot com>