-
Notifications
You must be signed in to change notification settings - Fork 13
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
direct commands #1
Comments
You have a good point. I will make sure to add support for that in the new version. |
thanks! |
I'm not sure how the script is being executed by the flic app on OSx, but it seems that it does not execute nested scripts. I have a script that calls another script conditionally, and the flic trigger seems to never execute the sub script... I cannot replicate the behavior outside of using the flic app. |
Interesting, I will take a look at that. |
The nested scripts that you refer to, is it executed related to the path of the main script? If it is then try to run it with an absolute path. I believe all scripts, including nested, will be run relative to the root. |
Root is able to execute the script, and it does reside in $PATH on the box. I tested with absolute path, and it still does not work. Mine is likely a corner case, and I have a workaround in place...Now I just need multiple buttons. |
I think I have a similar situation.. vagrantup.sh:
And I have added an alias to .bashrc This works when I run the script from terminal (I've put the file in a folder "flic" on user root) but when I attempt to have flic run it nothing happens. I get a beachball on the actual flic app in the menu bar which tells me it attempts to do something but alas nothing happens and the beachballs disappear after a while. EDIT: In the systemlog this appears:
which would be right since it's the same as is being echoed to the terminal if I run the script from there. But it seems it just skips the alias. |
I don't think alias works outside of bash. Try changing your script so that it does the So, instead of using
Perhaps you have to do some |
Hmm but But I'll try some variations and post back my results (for future devs) |
i'd like to write my commands directly into the configuration instead of "choosing a file". i'd like to simply
/usr/bin/say butts
without#!/bin/sh
andbutts.sh
. please adjust the interface accordingly.The text was updated successfully, but these errors were encountered: