-
Notifications
You must be signed in to change notification settings - Fork 231
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
Backgrounding wscat #130
Comments
Dear Team, I'm currently encountering an issue with the execution of a Bash script within a GitHub workflow. The script is intended to make a WebSocket request using wscat. Here's the relevant snippet of the script:
When I run this script manually on the GitHub runner, the wscat command executes properly and inserts an alert into the database. However, when the same script is executed from the GitHub workflow, it seems that the wscat command does not execute, resulting in no data being inserted into the database. Upon investigation, it appears that the GitHub workflow runs this script in the background, potentially causing the wscat command not to execute as expected. I would appreciate any suggestions or insights on how to resolve this issue. |
I am working on a CLI tool similar to wscat which supports background runs. You can check it out if you like. https://github.com/akshaykhairmode/wscli/releases/tag/v0.0.1 |
When I use wscat -c wss://socket.domain.tld/api --auth someuser:somepassword it works perfectly as long as I keep the program on the foreground. But as soon as I try to background it either using nohup or & the wscat crashes. How can I fix this?
The error that I'm getting is this one:
The text was updated successfully, but these errors were encountered: