sunwait icon indicating copy to clipboard operation
sunwait copied to clipboard

can't use in shell scripts

Open dchmelik opened this issue 5 months ago • 0 comments

Since '0s I tried to use sunwait in scripts--Korn Shell (ksh), Bourne Again Shell (bash)--but sunwait exits. I tested a command 'sunwait wait rise offset 51.4934N 0.0098E' in a shell which waits as it should. When I put that command in a shell script (without forking sunwait) then the next line beeps, to notify me, sunwait immediately exits, rather than waiting, so my script immediately beeps, so it's useless. Can you check and fix so sunwait can be used in shell scripting? I also tried forking it then 'PID=$1' then 'wait $PID' but the problem is sunwait apparently can't be used in a script, so isn't as useful.

dchmelik avatar Sep 16 '24 09:09 dchmelik