-
-
Notifications
You must be signed in to change notification settings - Fork 812
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
cmd runner not working as expected #912
Comments
Without seeing your shell script I can't know what's going on there, but with the Something about |
Here is the entirety of my script #!/bin/bash
curl -s "http://jellyfin.domain/Sessions?api_key=API_KEY" | jq -r '.[] | .RemoteEndPoint' | iponmap Which essentially pipes a list of IPs
to |
|
Ah, unfortunate in both cases then. Thanks for looking into it guys! |
Thanks for that info @Seanstoppable, that's extremely helpful. And you're welcome @GideonWolfe , should you have any other issues, don't hesitate to ask. You bringing this up has shown me that I should provide some documentation on possible limitations of the command runner. |
Adding to this issue for posterity. Recently got "exit status 2" from using CmdRunner to run a Python script which prints to std out no problem when ran in terminal. I initially specified the file path relative to home dir using "~", changing to absolute file path got it to work. |
What's broken?
I have tried a couple times to incorporate commands I run in the terminal to
cmdrunner
widgets without success.iponmap
.iponmap
takes a list of IP addresses and displays them on a map in the terminal.I have a script that goes
curl -s 'http://some.site/api...' | jq 'some json parsing' | iponmap
When I try to run this script from a
cmdrunner
widget, the widget is simply blank, no errors or anything.ghcal
prints a text representation of your github contributions into the terminal. When I runghcal --no-ansi
in my shell, I getBut when I try to run this command in a wtf
cmdrunner
, the window just says "exit status 1", which I have never gotten from just running the command.Here is how I am trying to launch it
The text was updated successfully, but these errors were encountered: