Patrick Schleizer patrick-mailinglists@whonix.org writes:
Does Tor's control protocol actually support something like ; ?
I'm not sure if this helps for your use-case, but my "carml" command-line tool can read commands from a pipe and execute them all. A simple example:
echo "GETINFO process/user" > foo echo "GETINFO process/pid" >> foo cat foo | carml cmd -
So, this will produce stdout like this:
process/user=debian-tor process/pid=1234
(Of course, you can make the above shorter/different in various ways, and GETINFO accepts multiple keys already, but "illstrative purposes" etc...)