Code: Select all
RunWait % "C:\Windows\SysNative\bash.exe -c /home/jjussi/randpass.sh > /mnt/c/temp/randpass.txt", , hide FileRead, clipboard, "C:\temp\randpass.txt"
Both run that first "RunWait" commmand and result is saved to that temporary file. Only at "Start Menu" version, that result is read to the clipboard. With Shortcuts version, nothing is inserted to clipboard.