Does Julia have an "invisible" function?

jamaas
Wed, 09 Feb 2022 07:43:45 +0000
New to Julia

I’ve cobbled together a function that will return a password from my gnome keyring, the only problem is that it shows the password on the console when it executes. Does Julia have an “invisible” function, like that of R, such that the value is returned but not shown?
Let me clairfy: I use this string,

PWD=$(read(`secret-tool lookup word1 word2 word3 word4`,String));

which calls the system function “secret-tool”, and it works correctly, however in the process is displays the value of word4, which is the password in the REPL. In R the invisible function wrapped around it stops it from being displayed.
Any other solutions welcome. Thx. J.

17 posts - 9 participants