The JACK (1) page [0] references this mailing list for possible dialog about jack usage.

I am using the jack2 daemon.

I am launching a jack aware application (OBS), but the connection to jack is not being made automatically, so I use jack_connect to make the connection between the two ports (system mic and OBS reader).

Is there a "jack_FOO" CLI tool that can be used to query what available ports there are?

The reason being is I need to put a sleep into my script to connect the jack ports:

/usr/bin/obs &
sleep 10
jack_connect system:out_1 OBS:jack_in

I'd like to eliminate the sleep command and poll jack to see if OBS has any port available.

What do you think?

Thanks!

-m

[0] http://jackaudio.org/community.html