diff options
author | Ben Sima <ben@bsima.me> | 2020-04-01 17:16:56 -0700 |
---|---|---|
committer | Ben Sima <ben@bsima.me> | 2020-04-01 18:34:27 -0700 |
commit | 67303d8890806a817e5eef34582900f37d5c03eb (patch) | |
tree | 4c0d573d88e45d1a1474cb25421e23a031ee6f05 /Run/Que/quescripts.md | |
parent | a4f34429f343b775efb69971267980c7d42c9690 (diff) |
Make pub the only publically-writable namespace
Diffstat (limited to 'Run/Que/quescripts.md')
-rw-r--r-- | Run/Que/quescripts.md | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Run/Que/quescripts.md b/Run/Que/quescripts.md index 0414d90..9a2e6e0 100644 --- a/Run/Que/quescripts.md +++ b/Run/Que/quescripts.md @@ -10,15 +10,15 @@ the job finishes. In one terminal run the listener: - que example/notify --then "notify-send '\que' '\msg'" + que pub/notify --then "notify-send '\que' '\msg'" In some other terminal run the job that takes forever: - runtests ; echo "tests are done" | que example/notify - + runtests ; echo "tests are done" | que pub/notify - When terminal 2 succeeds, terminal 1 will print "tests are done", then call the `notify-send` command, which displays a notification toast in -Linux with title "`example/notify`" and content "`tests are done`". +Linux with title "`pub/notify`" and content "`tests are done`". Que paths are multi-producer and multi-consumer, so you can add as many terminals as you want. |