Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

can't use in shell scripts #49

Open
dchmelik opened this issue Sep 16, 2024 · 0 comments
Open

can't use in shell scripts #49

dchmelik opened this issue Sep 16, 2024 · 0 comments

Comments

@dchmelik
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant