From 845bca147950d2ab518ff51855bedb3cdd3c2f64 Mon Sep 17 00:00:00 2001 From: Donald A Lobo <409069+dlobo@users.noreply.github.com> Date: Mon, 11 Jan 2021 18:15:50 -0800 Subject: [PATCH] This fix will enable the command to work on MacOSX and continue working on other *nix systems --- Linking-other-devices-(Provisioning).md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Linking-other-devices-(Provisioning).md b/Linking-other-devices-(Provisioning).md index ef42cc0..6b39007 100644 --- a/Linking-other-devices-(Provisioning).md +++ b/Linking-other-devices-(Provisioning).md @@ -6,15 +6,15 @@ To request a link and display the resulting QR code image in a single command on linux: - signal-cli link -n "optional device name" | tee >(xargs -l qrencode -t utf8) + signal-cli link -n "optional device name" | tee >(xargs -L 1 qrencode -t utf8) alternatively, you can try: - signal-cli link -n "optional device name" | xargs -l qrencode -o /tmp/qrcode.png & while [ ! -f /tmp/qrcode.png ]; do sleep 1; done; xdg-open /tmp/qrcode.png + signal-cli link -n "optional device name" | xargs -L 1 qrencode -o /tmp/qrcode.png & while [ ! -f /tmp/qrcode.png ]; do sleep 1; done; xdg-open /tmp/qrcode.png or for newer versions on android: - signal-cli link -n "optional device name" | xargs -l qrencode -o /tmp/qrcode.png --level=H -v 10 & while [ ! -f /tmp/qrcode.png ]; do sleep 1; done; xdg-open /tmp/qrcode.png` + signal-cli link -n "optional device name" | xargs -L 1 qrencode -o /tmp/qrcode.png --level=H -v 10 & while [ ! -f /tmp/qrcode.png ]; do sleep 1; done; xdg-open /tmp/qrcode.png` Do not kill the `signal-cli link …` process until linking is finished; the process will exit when it's done.